Problem with Directory Structure
It looks as though Smarty is setup to only use two directory levels, either ./ or /store for example.
We need to be able to do /store/directory however it doesn't seem to be working.
Back tracking the code in various places this example seems to be the standard for parsing directories:
if ($reg_globals) {
if (is_readable("../globals.php"))
require_once "../globals.php";
elseif (is_readable("./globals.php"))
require_once "./globals.php";
}
If this is the case, i think it's a serious design flaw. Has anybody had any problems with this before, and does anybody have suggestions on the most efficient fix.
I back tracked the problem right into the smarty class writing of the template_c files.
Thanks.
|