equal
deleted
inserted
replaced
344 <p>If you are the website administrator, you may install a language by writing and executing a simple PHP script to install it:</p> |
344 <p>If you are the website administrator, you may install a language by writing and executing a simple PHP script to install it:</p> |
345 <pre> |
345 <pre> |
346 <?php |
346 <?php |
347 define("ENANO_ALLOW_LOAD_NOLANG", 1); |
347 define("ENANO_ALLOW_LOAD_NOLANG", 1); |
348 require("includes/common.php"); |
348 require("includes/common.php"); |
349 install_language("eng", "English", "English", ENANO_ROOT . "/language/english/enano.json");</pre>'); |
349 install_language("eng", "English", "English", ENANO_ROOT . "/language/english/core.json");</pre>'); |
350 } |
350 } |
351 $row = $db->fetchrow(); |
351 $row = $db->fetchrow(); |
352 setConfig('default_language', $row['lang_id']); |
352 setConfig('default_language', $row['lang_id']); |
353 } |
353 } |
354 |
354 |