Here, you can modify the general configuration such as, site name, comments per page, make backups, and allot more.
Grestul System - General configuration
Do not touch fields that do not require changing.
';
echo "The Backup created successfully!";
echo '
';
exit;
}
else {
echo '
';
echo "The backup couldn't be created! — You must create it manually. ";
echo '
';
}
}
?>
$v)
{
if ($k != 'sub') // ignore submit button
{
$str .= "\$$k='$v';\n"; // add line to config file text
}
}
$str .= "?>";
$file_open = fopen(GRESTUL_ROOT.'inc/settings.php', "w+");
fwrite($file_open, $str);
$fclose($file_open);
}
?>