aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/libs/Autoloader.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/libs/Autoloader.php')
-rw-r--r--vendor/smarty/smarty/libs/Autoloader.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/vendor/smarty/smarty/libs/Autoloader.php b/vendor/smarty/smarty/libs/Autoloader.php
index c09361b66..1673ce2ff 100644
--- a/vendor/smarty/smarty/libs/Autoloader.php
+++ b/vendor/smarty/smarty/libs/Autoloader.php
@@ -39,7 +39,7 @@ class Smarty_Autoloader
*
* @var array
*/
- public static $rootClasses = array('smarty' => 'Smarty.class.php', 'smartybc' => 'SmartyBC.class.php',);
+ public static $rootClasses = array('smarty' => 'Smarty.class.php');
/**
* Registers Smarty_Autoloader backward compatible to older installations.
@@ -76,11 +76,7 @@ class Smarty_Autoloader
self::$SMARTY_DIR = defined('SMARTY_DIR') ? SMARTY_DIR : dirname(__FILE__) . DIRECTORY_SEPARATOR;
self::$SMARTY_SYSPLUGINS_DIR = defined('SMARTY_SYSPLUGINS_DIR') ? SMARTY_SYSPLUGINS_DIR :
self::$SMARTY_DIR . 'sysplugins' . DIRECTORY_SEPARATOR;
- if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
- spl_autoload_register(array(__CLASS__, 'autoload'), true, $prepend);
- } else {
- spl_autoload_register(array(__CLASS__, 'autoload'));
- }
+ spl_autoload_register(array(__CLASS__, 'autoload'), true, $prepend);
}
/**