From: <dj...@us...> - 2012-01-24 17:25:04
|
Revision: 8803 http://xoops.svn.sourceforge.net/xoops/?rev=8803&view=rev Author: djculex Date: 2012-01-24 17:24:54 +0000 (Tue, 24 Jan 2012) Log Message: ----------- Changed header to include frameworks moduleAdmin Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php 2012-01-24 16:49:01 UTC (rev 8802) +++ XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php 2012-01-24 17:24:54 UTC (rev 8803) @@ -31,8 +31,8 @@ $pathIcon16 = '../' . $xoopsModule->getInfo('icons16'); $pathIcon32 = '../' . $xoopsModule->getInfo('icons32'); -if (file_exists($GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'))) { - include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); +if (file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))) { + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); } else { redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |