* code for task#978.
This commit is contained in:
@@ -202,17 +202,6 @@ class installModel extends model
|
||||
return $iniInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get web root.
|
||||
*
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function getWebRoot()
|
||||
{
|
||||
return rtrim(str_replace('\\', '/', pathinfo($_SERVER['PHP_SELF'], PATHINFO_DIRNAME)), '/') . '/';
|
||||
}
|
||||
|
||||
/**
|
||||
* Check config ok or not.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user