mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Updating constant error messages for Configure class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5746 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
61c06ae94a
commit
f2ec5b3908
1 changed files with 2 additions and 2 deletions
|
@ -560,11 +560,11 @@ class Configure extends Object {
|
|||
$_this->write('debug', DEBUG);
|
||||
}
|
||||
if (defined('CAKE_ADMIN')) {
|
||||
trigger_error('Deprecated: Use Configure::write(\'Routing.admin\', ' . CAKE_ADMIN . ');', E_USER_WARNING);
|
||||
trigger_error('CAKE_ADMIN Deprecated: Use Configure::write(\'Routing.admin\', \'' . CAKE_ADMIN . '\');', E_USER_WARNING);
|
||||
$_this->write('Routing.admin', CAKE_ADMIN);
|
||||
}
|
||||
if (defined('WEBSERVICES')) {
|
||||
trigger_error('Deprecated: Use Router::parseExtensions();', E_USER_WARNING);
|
||||
trigger_error('WEBSERVICES Deprecated: Use Router::parseExtensions();', E_USER_WARNING);
|
||||
$_this->write('Routing.webservices', WEBSERVICES);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue