Fix: syntax error
This commit is contained in:
parent
becda06fd6
commit
8bcb90fcd0
@ -724,7 +724,7 @@ function write_main_file($mainfile,$main_dir)
|
|||||||
clearstatcache();
|
clearstatcache();
|
||||||
fputs($fp, '<?php'."\n");
|
fputs($fp, '<?php'."\n");
|
||||||
fputs($fp, "// Wrapper to include main into htdocs\n");
|
fputs($fp, "// Wrapper to include main into htdocs\n");
|
||||||
fputs($fp, "include_once '".$main_dir.'/main.inc.php');\n';
|
fputs($fp, "include_once '".$main_dir."/main.inc.php';\n");
|
||||||
fputs($fp, '?>');
|
fputs($fp, '?>');
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
}
|
}
|
||||||
@ -746,7 +746,7 @@ function write_master_file($masterfile,$main_dir)
|
|||||||
clearstatcache();
|
clearstatcache();
|
||||||
fputs($fp, '<?php'."\n");
|
fputs($fp, '<?php'."\n");
|
||||||
fputs($fp, "// Wrapper to include master into htdocs\n");
|
fputs($fp, "// Wrapper to include master into htdocs\n");
|
||||||
fputs($fp, "include_once '".$main_dir.'/master.inc.php');\n';
|
fputs($fp, "include_once '".$main_dir."/master.inc.php';\n");
|
||||||
fputs($fp, '?>');
|
fputs($fp, '?>');
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user