include/oninstall.php 1 location
|
@@ 31-35 (lines=5) @@
|
| 28 |
|
* @internal {Make sure you PROTECT THIS FILE} |
| 29 |
|
*/ |
| 30 |
|
|
| 31 |
|
if ((!defined('XOOPS_ROOT_PATH')) |
| 32 |
|
|| !($GLOBALS['xoopsUser'] instanceof XoopsUser) |
| 33 |
|
|| !($GLOBALS['xoopsUser']->isAdmin())) { |
| 34 |
|
exit('Restricted access' . PHP_EOL); |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
/** |
| 38 |
|
* |
include/onupdate.php 1 location
|
@@ 29-33 (lines=5) @@
|
| 26 |
|
|
| 27 |
|
/* @internal {Make sure you PROTECT THIS FILE} */ |
| 28 |
|
|
| 29 |
|
if ((!defined('XOOPS_ROOT_PATH')) |
| 30 |
|
|| !($GLOBALS['xoopsUser'] instanceof XoopsUser) |
| 31 |
|
|| !($GLOBALS['xoopsUser']->isAdmin())) { |
| 32 |
|
exit('Restricted access' . PHP_EOL); |
| 33 |
|
} |
| 34 |
|
|
| 35 |
|
/** |
| 36 |
|
* Pre-installation checks before installation of Xoopsfaq |