include/action.module.php 1 location
|
@@ 29-34 (lines=6) @@
|
| 26 |
|
* @internal {Make sure you PROTECT THIS FILE} |
| 27 |
|
*/ |
| 28 |
|
|
| 29 |
|
if ((!defined('XOOPS_ROOT_PATH')) |
| 30 |
|
|| !($GLOBALS['xoopsUser'] instanceof XoopsUser) |
| 31 |
|
|| !$GLOBALS['xoopsUser']->isAdmin() |
| 32 |
|
) { |
| 33 |
|
exit('Restricted access' . PHP_EOL); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
/** |
| 37 |
|
* |
include/onuninstall.php 1 location
|
@@ 17-22 (lines=6) @@
|
| 14 |
|
|
| 15 |
|
use \Xoopsmodules\xsitemap; |
| 16 |
|
|
| 17 |
|
if ((!defined('XOOPS_ROOT_PATH')) |
| 18 |
|
|| !($GLOBALS['xoopsUser'] instanceof \XoopsUser) |
| 19 |
|
|| !$GLOBALS['xoopsUser']->isAdmin() |
| 20 |
|
) { |
| 21 |
|
exit('Restricted access' . PHP_EOL); |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
include/onupdate.php 1 location
|
@@ 23-27 (lines=5) @@
|
| 20 |
|
use Xoopsmodules\xsitemap; |
| 21 |
|
require_once __DIR__ . '/../class/Utility.php'; |
| 22 |
|
|
| 23 |
|
if ((!defined('XOOPS_ROOT_PATH')) || !($GLOBALS['xoopsUser'] instanceof XoopsUser) |
| 24 |
|
|| !$GLOBALS['xoopsUser']->IsAdmin() |
| 25 |
|
) { |
| 26 |
|
exit('Restricted access' . PHP_EOL); |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
/** |
| 30 |
|
* |