Fix: syntax error

This commit is contained in:
Laurent Destailleur 2012-08-26 00:28:04 +02:00
parent becda06fd6
commit 8bcb90fcd0

View File

@ -724,7 +724,7 @@ function write_main_file($mainfile,$main_dir)
clearstatcache();
fputs($fp, '<?php'."\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, '?>');
fclose($fp);
}
@ -746,7 +746,7 @@ function write_master_file($masterfile,$main_dir)
clearstatcache();
fputs($fp, '<?php'."\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, '?>');
fclose($fp);
}