diff --git a/system/engine/autoload.php b/system/engine/autoload.php index 4a8f228..996be67 100644 --- a/system/engine/autoload.php +++ b/system/engine/autoload.php @@ -30,7 +30,8 @@ spl_autoload_register(function ($class) { if(in_array($class, $legacy)){ - eval("class ".$class." extends \\Phacil\\Framework\\".$class." {}"); + class_alias("\\Phacil\\Framework\\".$class, $class); + //eval("class ".$class." extends \\Phacil\\Framework\\".$class." {}"); return; }