__DIR__ fallback for PHP <5.3.0 - fixes #171

This commit is contained in:
Scott Walkinshaw
2011-11-15 17:20:34 -07:00
parent c876257e08
commit a7136a5ec5

View File

@@ -1,5 +1,7 @@
<?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-options.php'; // theme options
require_once get_template_directory() . '/inc/roots-cleanup.php'; // cleanup