__DIR__ fallback for PHP <5.3.0 - fixes #171
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
<?php // https://github.com/retlehs/roots/wiki
|
<?php // https://github.com/retlehs/roots/wiki
|
||||||
|
|
||||||
|
if (!defined('__DIR__')) define('__DIR__', dirname(__FILE__));
|
||||||
|
|
||||||
require_once get_template_directory() . '/inc/roots-activation.php'; // activation
|
require_once get_template_directory() . '/inc/roots-activation.php'; // activation
|
||||||
require_once get_template_directory() . '/inc/roots-options.php'; // theme options
|
require_once get_template_directory() . '/inc/roots-options.php'; // theme options
|
||||||
require_once get_template_directory() . '/inc/roots-cleanup.php'; // cleanup
|
require_once get_template_directory() . '/inc/roots-cleanup.php'; // cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user