Re: no cache Posted:
Tue Jan 05, 2010 2:17 am |
|
|
|
|
|
Anywhere between them? So it does not matter whether it is line 20 or 30 or 40, just as long as it is between head() and head().
Here is a bit of my header.php.
function head() {
global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle, $name, $db, $prefix, $nukeNAV;
// Initialize CSS and JS arrays
$headCSS = array();
// Post 138905 Step 3
addCSSToHead(INCLUDE_PATH . 'themes/ravennuke.css', 'file');
$headJS = array(); // added inside HEAD tags
$bodyJS = array(); // added at bottom of page, before </BODY>
$ThemeSel = get_theme();
// Post 138905 Step 1
include_once INCLUDE_PATH . 'themes/' . $ThemeSel . '/theme.php';
// Tolerant baseURL Hack - VinDSL (Lenon.com)
$base_url = $_SERVER['HTTP_HOST'];
Since this is the header.php I assume that just putting this code here affects all the other pages too. S
|
|
|
|