|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
mix Smarty n00b
Joined: 21 Jun 2004 Posts: 4
|
Posted: Sun Aug 08, 2004 12:23 pm Post subject: Aufbaugeschwindigkeit |
|
|
Hi leute,
Ich bin im moment an einem CMS. Dieses CMS hat aber eine Aufbaugeschwindigkeit von 3 bis sogar 6 sekunden.
Zu sehen unter: http://openflex.inside-php.de oder http://mix.mittelerde.ch/beta/
Hat mir jemand Tipps was man einstellen sollte,damit das ganze schneller kompiliert wird?
Im moment habe ich die Smarty Einstellungen so eingestellt:
Code: |
$smarty = new Smarty;
$smarty->template_dir = 'templates/'.$_COOKIE["style"].'/';
$smarty->compile_dir = 'templates_c';
$smarty->config_dir = 'configs';
$smarty->cache_dir = 'cache';
$smart->debugging = 'false';
$smarty->debug_tpl = 'smarty/debug.tpl';
$smarty->debuggin_ctrl = 'none';
$smarty->caching = 'false';
$smarty->force_compile = 'false';
$smarty->compile_check = 'false';
|
|
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sun Aug 08, 2004 8:19 pm Post subject: |
|
|
'false' is a non empty string containing the letters f-a-l-s-e.
a non empty string evaluates to true in php.
so
$smarty->force_compile = 'false';
*enables* force_compile actually.
it should read:
$smarty->force_compile = false;
to work properly.
HTH
[EDIT; oh, mann - sorry, das da oben hätte wohl deutsch werden sollen -
ich schieb's mal auf die hitze und hoffe der sinn ist klar] |
|
Back to top |
|
mix Smarty n00b
Joined: 21 Jun 2004 Posts: 4
|
Posted: Mon Aug 09, 2004 4:22 pm Post subject: |
|
|
hi,
easy..thx.. habs trotzdem verstanden
gruss
mix |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|