You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// including Smarty class and registering autoload handler
require_once('sysplugins/smarty_internal_data.php');
require_once('Smarty.class.php');
// need this since Yii autoload handler raises an error if class is not found
// Yii autoloader needs to be the last in the autoload chain
spl_autoload_unregister('smartyAutoload');
Yii::registerAutoloader('smartyAutoload');
TO:
// including Smarty class and registering autoload handler
require_once('sysplugins/smarty_internal_data.php');
require_once('Smarty.class.php');
require_once('Autoloader.php');
Smarty_Autoloader::registerBC(true);
// need this since Yii autoload handler raises an error if class is not found
// Yii autoloader needs to be the last in the autoload chain
// spl_autoload_unregister('smartyAutoload');
// Yii::registerAutoloader('smartyAutoload');
With 3.1.22 this wiil not work because of afterload changes
The text was updated successfully, but these errors were encountered: