Contributions by Keith Gable This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition to being restricted by the GNU General Public License, Essence Engine may not be sold, rented, sublicensed, or leased; you are not permitted to generate revenue with the Essence Engine source code. You may, however, use Essence Engine to run a website that generates revenue via other means. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA $Id$ */ // Website Options // hmm... $pagetitle = "Website Options"; include("mainheader.php"); include("themeheader.php"); if ($userinfo["editsite"]) { if ($_POST["submitted"]) { if (!is_writable("websitesettings.php")) { // websitesettings.php is not writable sysmsg("Error: websitesettings.php is not writable. Please correct this (chmod 777) and try again."); sendlocation("admin.php"); } else { $setfile = fopen("websitesettings.php","w"); fwrite($setfile, "\n"); fclose($setfile); sysmsg("Website settings saved."); sendlocation("admin.php"); } } else { if (!is_writable("websitesettings.php")) { // websitesettings.php is not writable! echo "
Error: websitesettings.php is not writable. Please correct this (chmod 777)!
\n"; } ?>


/>








/>
Access denied: You do not have permission to edit the website options.\n"; include("themefooter.php"); ?>