@@ -46,11 +46,11 @@ discard block |
||
46 | 46 | //require_once INSTRUCTION_ROOT_PATH . '/class/CategoryHandler.php'; |
47 | 47 | //require_once INSTRUCTION_ROOT_PATH . '/class/PageHandler.php'; |
48 | 48 | |
49 | -require_once __DIR__ . '/../class/Helper.php'; |
|
50 | -require_once __DIR__ . '/../class/Utility.php'; |
|
51 | -require_once __DIR__ . '/../class/InstructionHandler.php'; |
|
52 | -require_once __DIR__ . '/../class/CategoryHandler.php'; |
|
53 | -require_once __DIR__ . '/../class/PageHandler.php'; |
|
49 | +require_once __DIR__ . '/../class/Helper.php'; |
|
50 | +require_once __DIR__ . '/../class/Utility.php'; |
|
51 | +require_once __DIR__ . '/../class/InstructionHandler.php'; |
|
52 | +require_once __DIR__ . '/../class/CategoryHandler.php'; |
|
53 | +require_once __DIR__ . '/../class/PageHandler.php'; |
|
54 | 54 | |
55 | 55 | //xoops_load('constants', INSTRUCTION_DIRNAME); |
56 | 56 | //xoops_load('utility', INSTRUCTION_DIRNAME); |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | $debug = false; |
87 | 87 | |
88 | -if (!isset($GLOBALS['xoopsTpl']) || !($GLOBALS['xoopsTpl'] instanceof \XoopsTpl)) { |
|
88 | +if ( ! isset($GLOBALS['xoopsTpl']) || ! ($GLOBALS['xoopsTpl'] instanceof \XoopsTpl)) { |
|
89 | 89 | require_once $GLOBALS['xoops']->path('class/template.php'); |
90 | 90 | $xoopsTpl = new \XoopsTpl(); |
91 | 91 | } |