Skip to content

Commit

Permalink
Change dirname(__FILE__) to __DIR__
Browse files Browse the repository at this point in the history
  • Loading branch information
jpty authored Apr 20, 2022
1 parent d766f68 commit 4a2ee28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin_info/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with Jeedom. If not, see <http://www.gnu.org/licenses/>.
*/

require_once dirname(__FILE__) . '/../../../core/php/core.inc.php';
require_once __DIR__ . '/../../../core/php/core.inc.php';

function heliotrope_install() {
$cron = cron::byClassAndFunction('heliotrope', 'pull');
Expand Down

0 comments on commit 4a2ee28

Please sign in to comment.