mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Remove incorrect constant.
This commit is contained in:
parent
90423dcfac
commit
79564fb7d4
1 changed files with 1 additions and 3 deletions
|
@ -3,8 +3,6 @@
|
||||||
/**
|
/**
|
||||||
* Command-line code generation utility to automate programmer chores.
|
* Command-line code generation utility to automate programmer chores.
|
||||||
*
|
*
|
||||||
* Shell dispatcher class
|
|
||||||
*
|
|
||||||
* PHP 5
|
* PHP 5
|
||||||
*
|
*
|
||||||
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
||||||
|
@ -32,7 +30,7 @@ foreach ($paths as $path) {
|
||||||
|
|
||||||
if (!$found && function_exists('ini_set')) {
|
if (!$found && function_exists('ini_set')) {
|
||||||
$root = dirname(dirname(dirname(__FILE__)));
|
$root = dirname(dirname(dirname(__FILE__)));
|
||||||
ini_set('include_path', __CAKE_PATH__ . PATH_SEPARATOR . ini_get('include_path'));
|
ini_set('include_path', $root . $ds . PATH_SEPARATOR . ini_get('include_path'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!include($dispatcher)) {
|
if (!include($dispatcher)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue