| version 1.9, 2003/01/07 16:19:04 |
version 1.10, 2003/02/04 21:48:26 |
|
|
| * http://www.platon.sk/projects/phpWebFileManager/ |
* http://www.platon.sk/projects/phpWebFileManager/ |
| */ |
*/ |
| |
|
| /* $Platon: phpWebFileManager/init.inc.php,v 1.8 2002/10/16 21:19:21 nepto Exp $ */ |
/* $Platon: phpWebFileManager/init.inc.php,v 1.9 2003/01/07 16:19:04 nepto Exp $ */ |
| |
|
| /* |
/* |
| * Basic PostNuke recognition and settings |
* Basic PostNuke recognition and settings |
| Line 32 $PN_PathPrefix = ''; |
|
| Line 32 $PN_PathPrefix = ''; |
|
| if (defined('LOADED_AS_MODULE')) { |
if (defined('LOADED_AS_MODULE')) { |
| $ModName = basename(dirname(__FILE__)); |
$ModName = basename(dirname(__FILE__)); |
| $PN_PathPrefix = "modules/$ModName/"; |
$PN_PathPrefix = "modules/$ModName/"; |
| |
} else { |
| |
$PN_PathPrefix = dirname(__FILE__); |
| |
$PN_PathPrefix .= '/'; |
| } |
} |
| |
|
| /* |
/* |
| Line 45 if (! @file_exists($PN_PathPrefix . 'con |
|
| Line 48 if (! @file_exists($PN_PathPrefix . 'con |
|
| require_once $PN_PathPrefix . 'config.inc.php'; |
require_once $PN_PathPrefix . 'config.inc.php'; |
| |
|
| /* |
/* |
| |
* Local config file inclusion |
| |
*/ |
| |
|
| |
if (@file_exists($PN_PathPrefix . 'config-local.inc.php')) { |
| |
require_once $PN_PathPrefix . 'config-local.inc.php'; |
| |
} |
| |
|
| |
/* |
| * Icons configuration file inclusion |
* Icons configuration file inclusion |
| */ |
*/ |
| |
|