#116 | }elseif(is_file(FRAMEWORK_PATH.'ext/network/'.$classname.'.php')) { //网络连接类接口 |
#117 | include FRAMEWORK_PATH.'ext/network/'.$classname.'.php'; |
#118 | }else{ |
#119 | if(!defined('VENDOR')){ |
#120 | throw new Exception("类 $classname 不存在"); |
#121 | } |
#122 | } |
#123 | DEBUG && $_ENV['_include'][] = $classname.' 类'; |
#124 | return class_exists($classname, false); |
#125 | } |