Hello,
I'm getting:
"set_root: /mirstinkts/templates/ is not a directory."
This error is coming from set_root() function in the phplib::templates class
Here is the code from the template class:
function Template($root = ".", $unknowns = "remove") {
$this->set_root($root);
$this->set_unknowns($unknowns);
}
/ public: setroot(pathname $root)
root: new template directory.
*/
function set_root($root) {
if (!is_dir($root)) {
$this->halt("set_root: $root is not a directory.");
return false;
}
$this->root = $root;
return true;
}
The code calling the function looks like this:
$t = new Template("/mirstinkts/templates");
The capitalization and spelling are correct.
I'm new to PHP and I have no idea where to look.
How do I set up my templates directory? What am I missing? Does it have something to do with OS/Web server? I'm on a WAMP system. Is there something I should check for in my httpd.conf file?
please help!
Thanx