Two missing changes.

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@249 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
pies 2005-06-18 23:33:13 +00:00
parent da79dff7d7
commit 309d5465a9
2 changed files with 5 additions and 1 deletions

View file

@ -30,6 +30,8 @@
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
uses('object');
/**
* Folder structure browser, lists folders and files.
*

View file

@ -372,7 +372,9 @@
* @static
*/
function inCli() {
return php_sapi_name() == 'cli';
$method = getenv('REQUEST_METHOD');
return empty($method);
// return php_sapi_name() == 'cli';
}
}
?>