#120 | } elseif (is_file(FRAMEWORK_PATH . 'ext/network/' . $classname . '.php')) { |
#121 | include FRAMEWORK_PATH . 'ext/network/' . $classname . '.php'; |
#122 | } else { |
#123 | if (!defined('VENDOR')) { |
#124 | throw new Exception("类 $classname 不存在"); |
#125 | } |
#126 | } |
#127 | DEBUG && ($_ENV['_include'][] = $classname . ' 类'); |
#128 | return class_exists($classname, false); |
#129 | } |