Diff for phpWebFileManager/init.inc.php between version 1.12 and 1.13
| version 1.12, 2003/11/20 14:07:26 |
version 1.13, 2004/12/13 11:18:38 |
|
|
| * http://platon.sk/projects/phpWebFileManager/ |
* http://platon.sk/projects/phpWebFileManager/ |
| */ |
*/ |
| |
|
| /* $Platon: phpWebFileManager/init.inc.php,v 1.11 2003/02/12 19:46:07 nepto Exp $ */ |
/* $Platon: phpWebFileManager/init.inc.php,v 1.12 2003/11/20 14:07:26 nepto Exp $ */ |
| |
|
| /* |
/* |
| * Basic PostNuke recognition and settings |
* Basic PostNuke recognition and settings |
| Line 93 if (defined('LOADED_AS_MODULE')) { |
|
| Line 93 if (defined('LOADED_AS_MODULE')) { |
|
| $fm_cfg['color']['even'] = $bgcolor2; |
$fm_cfg['color']['even'] = $bgcolor2; |
| $fm_cfg['color']['odd'] = $bgcolor1; |
$fm_cfg['color']['odd'] = $bgcolor1; |
| |
|
| /* |
include 'header.php'; |
| * PostNuke language settings. |
} |
| */ |
|
| |
|
| modules_get_language(); |
|
| |
|
| include 'header.php'; |
/* |
| |
* Language file loading |
| |
*/ |
| |
|
| |
if (defined('LOADED_AS_MODULE') && function_exists('modules_get_language')) { |
| |
modules_get_language(); |
| } else { |
} else { |
| if (file_exists('lang/'.$fm_cfg['lang'].'/global.php')) { |
if (file_exists($PN_PathPrefix.'lang/'.$fm_cfg['lang'].'/global.php')) { |
| include 'lang/'.$fm_cfg['lang'].'/global.php'; |
include $PN_PathPrefix.'lang/'.$fm_cfg['lang'].'/global.php'; |
| } else { |
} else { |
| include 'lang/eng/global.php'; |
include $PN_PathPrefix.'lang/eng/global.php'; |
| } |
} |
| } |
} |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|