|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
Author |
Message |
Topic: many sites - one /compiled/ dir. Problem? |
sushko
Replies: 10
Views: 9052
|
Forum: General Posted: Sun May 31, 2020 11:33 am Subject: many sites - one /compiled/ dir. Problem? |
It seems to me that coding a test could designate a distinct compile and cache directory for each store. Much the same as I imagine you are distinguishing the database to use based on the Server Host ... |
Topic: many sites - one /compiled/ dir. Problem? |
sushko
Replies: 10
Views: 9052
|
Forum: General Posted: Sun May 31, 2020 10:51 am Subject: many sites - one /compiled/ dir. Problem? |
Nothing of what you describe is correct.
Don't run multiple sites within the same PHP pool.
Don't run multiple sites with shared cache.
Don't… basically, don't be that stupid. What you propose is ... |
Topic: many sites - one /compiled/ dir. Problem? |
sushko
Replies: 10
Views: 9052
|
Forum: General Posted: Sat May 30, 2020 12:01 pm Subject: many sites - one /compiled/ dir. Problem? |
I plan to host many internet shops having on my webserver one set of PHP files, one Smarty installation, one templates folder and multiple mySQL databases - one database per internet shop. When a visi ... |
Topic: dashed array key |
sushko
Replies: 2
Views: 3526
|
Forum: General Posted: Thu Feb 14, 2019 7:35 pm Subject: dashed array key |
That worked, thank you! |
Topic: dashed array key |
sushko
Replies: 2
Views: 3526
|
Forum: General Posted: Thu Feb 14, 2019 1:03 pm Subject: dashed array key |
I have an array:
$activity = array("name" => "Challenge", "start-date" => "2019/02/14");
In order to output this variable, in the TPL file I put:
... |
|
Page 1 of 1 |
All times are GMT |
Powered by phpBB © 2001, 2005 phpBB Group
|