This has got to be one of the most useful hacks I've seen! Thanks for the effort!
I installed the first version, everything worked well. Trying to up grade, I'm having difficulty with changing functions.php.
Instructions say:
Code:
find: (1)
unset($templatecache);
under it add:
require('warnconfig.php');
I'm using an older version, that line does not exist. This is what I found that comes close:
Code:
// cache templates
while ($temp=$DB_site->fetch_array($temps)) {
$templatecache["$temp[title]"]=$temp['template'];
}
unset($temp);
$DB_site->free_result($temps);
}
Any suggestions where to insert the require line?
Thanks in advance!