#111 | }elseif(is_file(FRAMEWORK_PATH.'ext/network/'.$classname.'.php')) { |
#112 | include FRAMEWORK_PATH.'ext/network/'.$classname.'.php'; |
#113 | }else{ |
#114 | if(!defined('VENDOR')){ |
#115 | throw new Exception("类 $classname 不存在"); |
#116 | } |
#117 | } |
#118 | DEBUG && $_ENV['_include'][] = $classname.' 类'; |
#119 | return class_exists($classname, false); |
#120 | } |