From 3d842d410741952987e8768bf2cb307df5e34445 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 1 Oct 2019 15:43:50 +0900 Subject: [PATCH] Missing strict declares, Progress bar init, missing site config bail In master config if there is no site config for this page, bail out. In the other config pages the strict declare header was missing. Progress bar inits the progress array with all set to null to avoid calls on not set index --- www/configs/config.db.php | 2 +- www/configs/config.host.php | 2 +- www/configs/config.master.php | 9 +++++++-- www/configs/config.path.php | 2 +- www/layout/frontend/javascript/debug.js | 2 +- www/layout/frontend/javascript/fineuploader | 2 +- www/layout/frontend/javascript/firebug.js | 2 +- www/lib/CoreLibs/Output/Progressbar.php | 7 ++++++- 8 files changed, 19 insertions(+), 9 deletions(-) diff --git a/www/configs/config.db.php b/www/configs/config.db.php index f852a4e9..117b7167 100755 --- a/www/configs/config.db.php +++ b/www/configs/config.db.php @@ -1,4 +1,4 @@ - null, + 'top' => null, + 'width' => null, + 'height' => null, + ); public $clear_buffer_size = 1; // we need to send this before the lfush to get browser output public $clear_buffer_size_init = 1024*1024; // if I don't send that junk, it won't send anything