mySQLsafe($path)); if ($db->numrows($sql) == 1) { $cacheQuery = sprintf("UPDATE %sCubeCart_lang SET langArray = '%s' WHERE identifier = %s LIMIT 1;", $glob['dbprefix'], addslashes($langArray), $db->mySQLsafe($path)); } else { $cacheQuery = sprintf("INSERT INTO %sCubeCart_lang (identifier, langArray) VALUES (%s,'%s');", $glob['dbprefix'], $db->mySQLsafe($path), addslashes($langArray)); } $db->misc($cacheQuery); $msg = sprintf('

%s

', "`".$_GET['homeLang']."` ".$lang['admin']['docs_update_success']); $cache = new cache(); $cache->clearCache(); } // end if copy is set and not empty // read file ?>

mySQLsafe($path)); $result = $db->select($sql); if (!$result) { include 'language'.$path; } else { $home = unserialize($result[0]['langArray']); } ?>

BasePath = $GLOBALS['rootRel'].$glob['adminFolder'].'/includes/rte/'; $oFCKeditor->Value = stripslashes($home['copy']); if (!$config['richTextEditor']) $oFCKeditor->off = true; $oFCKeditor->Create(); ?>