1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Finalise locations of language files, option to disable auto-load of English files on non-English sites if required files not found

This commit is contained in:
e107steved
2008-12-07 21:41:04 +00:00
parent 40418d08c9
commit dd282efc69
15 changed files with 141 additions and 50 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
| $Revision: 1.13 $
| $Date: 2008-12-03 18:09:00 $
| $Author: mcfly_e107 $
| $Revision: 1.14 $
| $Date: 2008-12-07 21:41:04 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -572,7 +572,7 @@ class themeHandler{
function parse_theme_xml($path)
{
global $tp;
// include_lan_admin($path); // Look for LAN files on default paths
// loadLanFiles($path, 'admin'); // Look for LAN files on default paths
require_once(e_HANDLER.'xml_class.php');
$xml = new xmlClass;
$vars = $xml->loadXMLfile(e_THEME.$path.'/theme.xml', true, true);