public function __construct($productName) { self::$rootPath = File::normalize(dirname(__FILE__)); // FILE::delete(self::$rootPath."/".$productName); self::loadConfig(self::$rootPath . '/config' . $_SESSION['o'] . '.php'); $product = self::getConfig('product'); $this->proInfo = $product[$productName]; // $this->analyze = new Analyze(); }