]>
src.bluestatic.org Git - bugdar.git/blob - docs/lang_file_to_db.php
3 // takes the locale/en.php file and loads it into the database language system
8 require_once('./global.php');
11 REPLACE INTO " . TABLE_PREFIX
. "phrase
12 (varname, phrasetext, imported)
16 require('./docs/en.php');
18 foreach ($language AS $varname => $phrase)
21 ('" . addslasheslike($varname) . "', '" . addslasheslike($phrase) . "', " . time() . ")";
24 $sql .= implode(',', $sqlbits);
26 echo "<pre>$sql</pre>";