mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Base Directory Fix #1
This commit is contained in:
1 parent
5501805c71
commit
a82cf90d12
14 files changed
+19
-19
No files matched your search
@@ -9,10 +9,10 @@ if (isset($_POST) && !empty($_POST)){
|
||||
echo '<pre>';
|
||||
var_dump($_POST);
|
||||
echo '</pre>';
|
||||
echo '<a href="/vasek/home/' . strtolower(basename(__FILE__, '.php')).'">CONTINUE</a>';
|
||||
echo '<a href="/' . BASEDIR . strtolower(basename(__FILE__, '.php')).'">CONTINUE</a>';
|
||||
die();
|
||||
}
|
||||
|
||||
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
|
||||
header('Location: ' . BASEDIR . strtolower(basename(__FILE__, '.php')));
|
||||
die();
|
||||
}
|
||||
Reference in new issue
Block a user