.htaccess was successfully created.
'; } else { $msg .= '.htaccess file could not be written. Please create it manually.
'; } @fclose($fp); } } else { $fp = @fopen(CC_ROOT_DIR.CC_DS.'.htaccess', 'wb'); if (!@fwrite($fp, $ht_new)) { $msg .= '.htaccess file could not be written. Please create it manually.
'; } else { $msg .= '.htaccess was successfully created.
'; } @fclose($fp); } } if (isset($_POST['config'])) { $cache = new cache(); $cache->clearCache(); ## fix for Bug #147 $fckEditor = (detectSSL()==true && $config['force_ssl']==false) ? str_replace($config['rootRel_SSL'],$glob['rootRel'],$_POST['FCKeditor']) : $_POST['FCKeditor']; $_POST['config']['offLineContent'] = base64_encode($fckEditor); $config = fetchDbConfig("config"); ## DIRTY BUT MAKES SUPPORT EASIER!! if ($_POST['config']['ssl'] && !strstr($_POST['config']['rootRel_SSL'], '/')) { $msg .= "The HTTPS Root Relative Path entered is not valid! SSL has not been enabled.
"; $_POST['config']['force_ssl'] = false; $_POST['config']['ssl'] = false; } if ($_POST['config']['ssl'] && !strstr($_POST['config']['storeURL_SSL'], 'https')) { $msg .= "The absolute HTTPS Absolute URL entered is not valid. SSL has not been enabled.
"; $_POST['config']['force_ssl'] = false; $_POST['config']['ssl'] = false; } $msg .= writeDbConf($_POST['config'], 'config', $config, true); } $config = fetchDbConfig("config"); $jsScript = jsGeoLocation("siteCountry", "siteCounty", "-- ".$lang['admin_common']['na']." --"); require($glob['adminFolder'].CC_DS."includes".CC_DS."header.inc.php"); ?>