- Delete api doclib code.
This commit is contained in:
@@ -282,10 +282,6 @@ class install extends control
|
||||
|
||||
if($this->config->edition != 'open') $this->loadModel('upgrade')->processDataset();
|
||||
|
||||
$httpType = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http';
|
||||
if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) and strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https') $httpType = 'https';
|
||||
if(isset($_SERVER['REQUEST_SCHEME']) and strtolower($_SERVER['REQUEST_SCHEME']) == 'https') $httpType = 'https';
|
||||
if(strpos($this->app->getClientLang(), 'zh') === 0) $this->loadModel('api')->createDemoData($this->lang->api->zentaoAPI, "{$httpType}://{$_SERVER['HTTP_HOST']}" . $this->app->config->webRoot . 'api.php/v1', '16.0');
|
||||
$this->loadModel('metric')->updateMetricDate();
|
||||
|
||||
$link = $this->config->inQuickon ? inlink('app') : inlink('step6');
|
||||
|
||||
Reference in New Issue
Block a user