From 702d27f0b03bb05f86c5a301f360d4df4194d5ae Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Sat, 4 May 2024 09:44:54 +0200 Subject: [PATCH] made compatible for PHP>7.4 --- hrm/run.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) mode change 100755 => 100644 hrm/run.php diff --git a/hrm/run.php b/hrm/run.php old mode 100755 new mode 100644 index 96e45c1..e4d6afe --- a/hrm/run.php +++ b/hrm/run.php @@ -2,6 +2,10 @@ "); $debug = false; - if($program[0][cmd] == 'comment'){ - if($program[0][comment] == '--debug'){ + if($program[0]['cmd'] == 'comment'){ + if($program[0]['comment'] == '--debug'){ echo("

DEBUG Modus

"); $debug = true; } @@ -267,7 +271,7 @@ else{ function page_loaded(){ console.log("### We are in DEBUG Mode!!!"); $("#init_box_content").html(init_box_content);