|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I don't know quite why, but my PHP app that works fine elsewhere is
attempting to create a cache folder in / instead of the current directory. Safe mode is off, and open_basedir is unset. It's also trying to create '/./templates_c'. Both the cache and templates_c folders already exist in the current directory and are writable by the web server user. I've been looking in core.create_dir_structure.php, but I can't see why it should be ignoring the current dir. It's the mkdir() call in there that's failing, but it shouldn't be trying to make them in / anyway. FWIW I'm running Smarty 2.6.14 on PHP 5.1.4 on OS X 10.4. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Never mind. I noticed that getcwd() was returning false, so I look it
up in PHP docs and found this exact problem solved by none other than myself! Now do I feel silly... Marucs -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk |
|
![]() |
| Outils de la discussion | |
|
|