Dear Dérico,

This is in my router.php ...

        Router::connect('/', array('controller' => 'contents', 'action' =>
'home'));
        Router::connect('/pages/*', array('controller' => 'pages', 'action'
=> 'display'));
        Router::connect(
                '/:language/',
                array('controller' => 'contents', 'action' => 'home'),
                array('language' => 'de|en')
        );
        Router::connect(
                '/:language/:controller/:action/*',
                array(),
                array('language' => 'de|en')
        );


The X-CMS header is just a header I send every time a page is served
-- so no (other) CMS is running in background or some sort of thing --
CakePHP is the CMS ;) ..

I use XDebug only on my local development-machine -- online
(eurolyser.com) there is no debugger installed (just good old PHP5
with Zend Optimizer)


The L10n is done in my AppController ...

switch($selected_language)
{
        case 'de':  Configure::write('Config.language','deu');
                        break;
        default:
        case 'en':  Configure::write('Config.language','eng');
                        break;
}

every localized output is then done with __() -- anything that seems
to slow down the performance considerable?

Thank you for your ideas Dérico!


@Federico

Oh my gosh ... $html->link is slowing down the scripts? I use that
nearly everywhere on my pages (I extended the class so it changes the
language of the links automatically) -- but do you really think that
may be the problem? I used $html->link() on earlier projects without
having any problems -- but i will check that, thanks for the
Information!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to