$msg .= "\$def_coy = " . $def_coy . ";\n\n";
$msg .= "\$tb_pref_counter = " . $tb_pref_counter . ";\n\n";
$msg .= "\$db_connections = " .var_export($db_connections, true);
- $msg .= ";\n?>";
+ $msg .= ";\n";
$filename = $path_to_root . "/config_db.php";
// Check if the file exists and is writable first.
*/\n\n";
$msg .= "\$installed_extensions = ". var_export($extensions, true);
- $msg .= ";\n?>";
+ $msg .= ";\n";
$filename = $path_to_root . ($company==-1 ? '' : '/company/'.$company)
.'/installed_extensions.php';
$msg .= "\$installed_languages = " . var_export($installed_languages, true);
$msg .= ";\n";
- $msg .= "\n\$dflt_lang = '$dflt_lang';\n?>\n";
+ $msg .= "\n\$dflt_lang = '$dflt_lang';\n";
$path = $path_to_root . "/lang";
$filename = $path.'/installed_languages.inc';
function create_comp_dirs($comp_path, $comp_subdirs)
{
- $index = "<?php\nheader(\"Location: ../index.php\");\n?>";
+ $index = "<?php\nheader(\"Location: ../index.php\");\n";
$cdir = $comp_path;
@mkdir($cdir);
$f = @fopen("$cdir/index.php", "wb");
}
-?>
\ No newline at end of file