|
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 |
Adar Smarty Regular
Joined: 27 May 2004 Posts: 58
|
Posted: Sat May 29, 2004 3:21 pm Post subject: Probleme mit Verzeichnissen |
|
|
Hi!
Ich wollte nicht, dass jeder, der mein Forum nutzt, Smarty auf seinem Server installieren muss bzw ans basic-html-Verzeichnis des Servers muss, deshalb dachte ich, ich packe "libs" in das Verzeichnis des Forums, hätte also dann
/var/www/html/forum/libs/ als Smarty-Dir, anstatt (wie üblich)
/var/www/html/libs/
Nun verhält es sich aber so, dass, jedesmal, wenn ich auf "Aktualisieren" bei meinem Browser klicke, ich ein neues, nicht korrektes Template bekomme...sobald ich Smarty nach /var/www/html/libs/ kopiere, gehts wieder...
woran liegt das bzw wie kann ich das ändern? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sat May 29, 2004 3:46 pm Post subject: |
|
|
der pfad zu templates oder zu templates_c schein nicht korrekt zu sein. ausserdem muss man, wenn man verschiedene template-verzeichnisse verwendet, auch für jedes ein eigenes templates_c-verzeichnis haben, oder für die einzelnen template-verzeichnisse unterschiedliche compile_ids vergeben. |
|
Back to top |
|
Adar Smarty Regular
Joined: 27 May 2004 Posts: 58
|
Posted: Sat May 29, 2004 7:17 pm Post subject: |
|
|
ich habs endlich...
Sobald ich absolute Verzeichnisse benutz habe ("/var/ww/html/forum/libs/")
ging es nicht. Mit einem relativen Verzeichnis hingegen ("libs/") schon. |
|
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
|