04-04-2008, 02:33 PM
|
#3 (permalink)
|
|
The Acquainted
Join Date: Jan 2008
Posts: 119
Thanks: 21
|
Thanks for the reply. So maybe check it like this (psuedo):
Code:
filenames:
index.xml
index.php
template:
{header}
{
get filename minus extension;
get xml with same filename minus extension;
if(!filename.xml)
$content = index.xml
}else{
$content = filename.xml
}
}
{footer}
I just thought of something... I have many different folders with index.php in them....
I have been thinking for a while how to streamline this non-dynamic site i have. I wish it had more structure. I don't have access to nor am allowed to use a database or sqlite. Maybe I just have to suck it up.
|
|
|
|