mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Two missing changes.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@249 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
da79dff7d7
commit
309d5465a9
2 changed files with 5 additions and 1 deletions
|
@ -30,6 +30,8 @@
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
uses('object');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Folder structure browser, lists folders and files.
|
* Folder structure browser, lists folders and files.
|
||||||
*
|
*
|
||||||
|
|
4
vendors/simpletest/scorer.php
vendored
4
vendors/simpletest/scorer.php
vendored
|
@ -372,7 +372,9 @@
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
function inCli() {
|
function inCli() {
|
||||||
return php_sapi_name() == 'cli';
|
$method = getenv('REQUEST_METHOD');
|
||||||
|
return empty($method);
|
||||||
|
// return php_sapi_name() == 'cli';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue