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:
nate 2007-10-10 00:19:16 +00:00
parent 61c06ae94a
commit f2ec5b3908

View file

@ -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);
}
}