* code for task#978.

This commit is contained in:
zhujinyong
2012-12-11 07:21:54 +00:00
parent 506f9bc72f
commit 60ef357bec
4 changed files with 2 additions and 17 deletions

View File

@@ -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.
*