Is there some way to assign some folders as a default files paths for the php controller script to look through for templates and content, so that I wont have to keep entering this in all of my includes and urls? I already have my server root defined in a $variable, but I need to add some multiple choices past that.
Code: Select all
<?php include ($serverrootdir . ''.$defaultpaths.'' . $data); ?> .
the entire url, will hide the folders? Or is this wishful thinking?
Code: Select all
index.php?data=/folder/file.phpThanks in Advance,
Cal