diff --git a/config.php b/config.php index 96c2718..6171ee6 100644 --- a/config.php +++ b/config.php @@ -5,8 +5,10 @@ $config = array(); $config['website-name'] = "Web Proxy"; $config['access-password'] = "MY_PASSWORD_TO_ACCESS"; -$config['website-url'] = "MY_FQDN/webproxy"; +$config['website-url'] = "/web-proxy/"; $config['website-description'] = "Web Proxy"; +//ini_set( 'error_reporting', E_ALL ); //enable for debugging! +//ini_set( 'display_errors', true ); //enable for debugging! // a unique key that identifies this application - DO NOT LEAVE THIS EMPTY! $config['app_key'] = 'ADD_HERE_SOME_RANDOM_STRING'; diff --git a/login.php b/login.php index b1a31cf..a05f899 100644 --- a/login.php +++ b/login.php @@ -24,7 +24,7 @@ $timeout = (TIMEOUT_MINUTES == 0 ? 0 : time() + TIMEOUT_MINUTES * 60); // logout? if(isset($_GET['logout'])) { setcookie("verify", '', $timeout, '/'); // clear password; - header('Location: ' . "/webproxy/"); + header('Location: ' . "/web-proxy/"); exit(); } if(!function_exists('showLoginPasswordProtect')) { @@ -321,7 +321,7 @@ function showLoginPasswordProtect($error_msg) { -

Don't have an password?  Ask M.Reber

+

Don't have an password?  Good luck.

@@ -401,7 +401,7 @@ if (isset($_POST['access_password'])) { unset($_POST['access_login']); unset($_POST['access_password']); unset($_POST['Submit']); - header('Location: ' . $logoutURL . '/webproxy/'); + header('Location: ' . $logoutURL . '/web-proxy/'); } } else {