Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: Unnecessary overhead for config_file?
Mike Bradley

Replies: 6
Views: 17609

PostForum: Feature Requests   Posted: Fri Apr 18, 2003 10:53 am   Subject: Unnecessary overhead for config_file?
You star - it took a few goes and I had to remember to delete my cache, but it worked just fine.

Mike
  Topic: Unnecessary overhead for config_file?
Mike Bradley

Replies: 6
Views: 17609

PostForum: Feature Requests   Posted: Fri Apr 18, 2003 2:14 am   Subject: Unnecessary overhead for config_file?
One thing - how do I assign the values 'Yes' and 'No' in the config file?

If I do:

lsYes = Yes
lsNo = No

They get evaluated to 1 and 0 respectively

But if I do

lsYes = Ja
lsNo = Nej ...
  Topic: Unnecessary overhead for config_file?
Mike Bradley

Replies: 6
Views: 17609

PostForum: Feature Requests   Posted: Fri Apr 18, 2003 1:20 am   Subject: Unnecessary overhead for config_file?
Well what do you know - they already thought of that! I never realised that the config files were compiled as well!

Mike
  Topic: Unnecessary overhead for config_file?
Mike Bradley

Replies: 6
Views: 17609

PostForum: Feature Requests   Posted: Fri Apr 18, 2003 1:13 am   Subject: Unnecessary overhead for config_file?
I have been using config_file to implement language versions of my pages (the language files being selected at install time, rather than run-time), but looking at the compiled code I was wondering if ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP