50
Thanks Kaotik..its working..
rmcommon rocks !!!
[quote]
kaotik wrote:
noob, solution:
open rmcommon/loader.php, around line 12 find:
// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
switch($fct){
case 'modulesadmin':
header('location: ../rmcommon/modules.php');
break;
}
}
replace with:
[code]
function chechAdminTheme(){
include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php';
include_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php';
$db = XoopsDatabaseFactory::getDatabaseConnection();
$res = $db->query(
I Love Xoops