Fatal error: Class '\core\lib\drive\log\file' not found in D:\WWW\mvc\Core\Lib\Log.php on line 15
<?php namespace Core\Lib\Drive\Log; class File { }
file 空的跟着老师视频做的
<?php namespace Core\Lib; class Log { static $class; static public function init() { //确定存储方式 $drive = Conf::get('DRIVE','log'); $class = '\core\lib\drive\log\\'.$drive; self::$class = new $class; } }
看就几遍视频买找到问题出在哪,