Version:1.4.41
File:/usr/local/lsws/admin/html.open/lib/DMsg.php
line 38 to 46
orign code is
I think It's better to change to
File:/usr/local/lsws/admin/html.open/lib/DMsg.php
line 38 to 46
orign code is
Code:
$msgfile = SERVER_ROOT . self::LANG_DIR . 'en-US_msg.php';
if (file_exists($msgfile)) {
// maybe called from command line for converter tool
include $msgfile;
if ($lang != DMsg:: DEFAULT_LANG) {
include SERVER_ROOT . self::LANG_DIR . $filecode . '_msg.php';
}
}
Code:
$msgfile = SERVER_ROOT . self::LANG_DIR . $filecode . '_msg.php';
if (file_exists($msgfile)) {
include $msgfile;
}else{
include SERVER_ROOT . self::LANG_DIR . 'en-US_msg.php';
}