@@ 76-78 (lines=3) @@ | ||
73 | ||
74 | if (file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php")) { |
|
75 | include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php"; |
|
76 | } elseif (file_exists(XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php")) { |
|
77 | include XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php"; |
|
78 | } |
|
79 | include XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php"; |
|
80 | $sysperm_handler =& xoops_gethandler('groupperm'); |
|
81 | $category = !empty($modversion['category']) ? intval($modversion['category']) : 0; |
@@ 45-47 (lines=3) @@ | ||
42 | //------------------------------------- |
|
43 | //move here form ratefile.php |
|
44 | if (isset($_POST['submit']) && !empty($_POST['lid'])) { |
|
45 | if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/include/ratefile.inc.php')) { |
|
46 | require XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/include/ratefile.inc.php'; |
|
47 | } |
|
48 | trigger_error("not updated rate :"); |
|
49 | exit(); |
|
50 | } |