mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
remake to switch betwen enable and disable buton and second button is remove, remova now not work
This commit is contained in:
1 parent
6689b4285e
commit
2117e9acac
3 files changed
+19
-8
No files matched your search
+3
-1
@@ -4,9 +4,11 @@ error_reporting(E_ALL);
|
||||
ini_set( 'display_errors','1');
|
||||
|
||||
//setup
|
||||
parse_str($_SERVER['QUERY_STRING'], $params);
|
||||
$urlSes = str_replace((!empty ($params['url']) ? $params['url'] : ""), "", str_replace('https://' . $_SERVER['HTTP_HOST'], "", $_SERVER['REQUEST_URI']));
|
||||
session_set_cookie_params(
|
||||
1209600,
|
||||
str_replace('login', "", str_replace('https://' . $_SERVER['HTTP_HOST'], "", $_SERVER['REQUEST_URI'])),
|
||||
$urlSes,
|
||||
str_replace("/var/www/", "", $_SERVER['DOCUMENT_ROOT']),
|
||||
true,
|
||||
true
|
||||
|
||||
Reference in new issue
Block a user