The app_controller looks like this :
Uses('L10n',i18n);
class AppController extends Controller {
function beforeFilter()
{
if(empty($this->L10n)){
$this->L10n = new L10n();
}
if(empty($this->i18n)){
$this->i18n = new i18n();
}
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---