Analysis | |
---|---|
// Hardly try to find what DB-support is compiled in
// this dont work with PHP 3.0.10 and lower !
if(isset($write_config) && !empty($write_config)) {
$fsetup = true;
$ftemplate = fopen(dirname($SCRIPT_FILENAME)."../header.inc.php.template","r");
if($ftemplate){
$fsetup = fopen($server_root."/header.inc.php","w");
if(!$fsetup){
echo "could not open header.inc.php for writing ! "; echo "please check read/write permissions on directories or back up and download the file. Then save it to the correct location "; echo " |