blank
10-28-2006, 04:55 PM
Open config.php and delete this part: $resultconfig = @mysql_query("SELECT * FROM config LIMIT 1");
$row = mysql_fetch_row($resultconfig);
define all of the variables below that like this, change this: $site_title = "$row[0]";
to: $site_title = "Tons of FREE VIDEOS!";
just go through the list of variables and hardcode them. This chops out a query on EVERY page and as you get pretty big you'll want the added speed. For me editing config.php is probably easier than even the /admincp form.
$row = mysql_fetch_row($resultconfig);
define all of the variables below that like this, change this: $site_title = "$row[0]";
to: $site_title = "Tons of FREE VIDEOS!";
just go through the list of variables and hardcode them. This chops out a query on EVERY page and as you get pretty big you'll want the added speed. For me editing config.php is probably easier than even the /admincp form.