include/oninstall.php 1 location
|
@@ 31-36 (lines=6) @@
|
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 |
|
* |
39 |
|
* Prepares system prior to attempting to install module |
include/onupdate.php 1 location
|
@@ 29-34 (lines=6) @@
|
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 |
37 |
|
* |