From 75c98902b1f1be9a4cd1429886c3089c568e532b Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sun, 9 Jul 2017 13:55:46 +0200 Subject: [PATCH 1/1] [BUGFIX] Prevent object ProgressEvent Error This is done by removing unnecessary usage of web_root URL. closes #127 Signed-off-by: Jerome Jutteau --- f.php | 24 ++++++++------------- index.php | 14 +++++------- install.php | 2 +- lib/functions.js.php | 48 +++++++++++++++-------------------------- lib/functions.php | 2 +- lib/template/footer.php | 2 +- lib/template/header.php | 8 +++---- script.php | 2 +- 8 files changed, 39 insertions(+), 63 deletions(-) diff --git a/f.php b/f.php index 0f40638..79f437e 100644 --- a/f.php +++ b/f.php @@ -24,7 +24,7 @@ require(JIRAFEAU_ROOT . 'lib/functions.php'); require(JIRAFEAU_ROOT . 'lib/lang.php'); if (!isset($_GET['h']) || empty($_GET['h'])) { - header('Location: ' . $cfg['web_root']); + header('Location: ./'); exit; } @@ -123,10 +123,7 @@ if (!empty($link['key'])) { if (!isset($_POST['key'])) { require(JIRAFEAU_ROOT.'lib/template/header.php'); echo '
' . - '