Revision 1603
Added by Dietmar almost 13 years ago
reload.php | ||
---|---|---|
40 | 40 |
// check if the referer URL if available |
41 | 41 |
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : |
42 | 42 |
(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : ''); |
43 |
$referer = ''; |
|
43 | 44 |
// if referer is set, check if script was invoked from "admin/modules/index.php" |
44 | 45 |
$required_url = ADMIN_URL . '/addons/index.php'; |
45 | 46 |
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) |
Also available in: Unified diff
fix local module reload and module manuell install
forgot to upload login.php