Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Aufbaugeschwindigkeit

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
mix
Smarty n00b


Joined: 21 Jun 2004
Posts: 4

PostPosted: Sun Aug 08, 2004 12:23 pm    Post subject: Aufbaugeschwindigkeit Reply with quote

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
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Sun Aug 08, 2004 8:19 pm    Post subject: Reply with quote

'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
View user's profile Send private message Send e-mail Visit poster's website
mix
Smarty n00b


Joined: 21 Jun 2004
Posts: 4

PostPosted: Mon Aug 09, 2004 4:22 pm    Post subject: Reply with quote

hi,

easy..thx.. habs trotzdem verstanden Smile

gruss
mix
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP