Location: PHPKode > projects > Nukequiz > html/modules/Nukequiz/admin/NQAAdminConfigSave.php
<?php
/*****************************************************************/
/* Nukequiz (tm)    v 3.1.0                                		 */
/* By: Kissoftware (hide@address.com)      		     */
/* http://www.kissoftware.org.uk                           		 */
/* http://www.kissoftware.co.uk                       		     */
/* Copyright © 2003-2008 by Kissoftware         				 */
/* See Docs For Information & Credits                 			 */
/* For More information Visit Forums Or The Online Help Manual	 */
/*****************************************************************/
$search = array(",", "'", "/", "\\", " ","#", "*");
$replace  = array("_" , "_", "_", "_", "_", "_", "_");
$imagesdir = str_replace($search, $replace, $images_directory);
$backupdir = str_replace($search, $replace, $backup_directory);
nqsave_config("maxthumbs",$maxthumbs);
nqsave_config("maximagesize",$maximagesize);
nqsave_config("user_help",$user_help);
nqsave_config("user_question",$user_question);
nqsave_config("blocklist",$blocklist);
nqsave_config("pagenum",$pagenum);
nqsave_config("uploads",$uploads);
nqsave_config("dateformat",$dateformat);
nqsave_config("nukepoints",$nukepoints);
nqsave_config("userpoints",$userpoints);
nqsave_config("league_count",$leaguecount);
nqsave_config("league_orderby",$league_orderby);
nqsave_config("league_graphics",$league_graphics);
nqsave_config("scroll",$scroll);
nqsave_config("cutoff",$cutoff);
nqsave_config("scrdir",$scrdir);
nqsave_config("scrollheight",$scrollheight);
nqsave_config("templates",$templates);
nqsave_config("max_filesize",$max_filesize);
nqsave_config("reply_email",$reply_email);
$install = $nq_config['install'];
if ($install == '0') {
nqsave_config("images_directory",$images_directory);
nqsave_config("backup_directory",$backup_directory);
nqsave_config("install",'1');
}
Header("Location: ".$admin_file.".php?op=nqadminconfig");
break;	
?>
Return current item: Nukequiz