.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']==1 && !ereg("/",$_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']==1 && !ereg("https",$_POST['config']['storeURL_SSL'])) { $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"); ?>


select("SELECT * FROM ".$glob['dbprefix']."CubeCart_iso_countries"); ?>
select("SELECT * FROM ".$glob['dbprefix']."CubeCart_iso_counties WHERE countryId = '".$config['siteCountry']."'"); ?>
 


*

*

*



*
 

*



 










 


 

/>
/>
/>
/>
/>
 




 

select("SELECT name, code FROM ".$glob['dbprefix']."CubeCart_currencies WHERE active = 1 ORDER BY name ASC"); ?>

 

 
BasePath = $GLOBALS['rootRel'].$glob['adminFolder'].'/includes/rte/'; $oFCKeditor->Value = stripslashes(base64_decode($config['offLineContent'])); if ($config['richTextEditor'] == false) { $oFCKeditor->off = TRUE; } $oFCKeditor->Create(); ?>
 

 


.htaccess