made compatible for PHP>7.4
This commit is contained in:
parent
c85160832f
commit
702d27f0b0
10
hrm/run.php
Executable file → Normal file
10
hrm/run.php
Executable file → Normal file
@ -2,6 +2,10 @@
|
|||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<?
|
<?
|
||||||
|
|
||||||
|
// ini_set('display_errors', 1);
|
||||||
|
// ini_set('display_startup_errors', 1);
|
||||||
|
// error_reporting(E_ALL);
|
||||||
|
|
||||||
include("functions.php");
|
include("functions.php");
|
||||||
include("../levels.php");
|
include("../levels.php");
|
||||||
|
|
||||||
@ -117,8 +121,8 @@ else{
|
|||||||
// echo("program_valid: \"$program_valid\"<br>");
|
// echo("program_valid: \"$program_valid\"<br>");
|
||||||
|
|
||||||
$debug = false;
|
$debug = false;
|
||||||
if($program[0][cmd] == 'comment'){
|
if($program[0]['cmd'] == 'comment'){
|
||||||
if($program[0][comment] == '--debug'){
|
if($program[0]['comment'] == '--debug'){
|
||||||
echo("<h1><font color=red>DEBUG Modus</font></h1>");
|
echo("<h1><font color=red>DEBUG Modus</font></h1>");
|
||||||
$debug = true;
|
$debug = true;
|
||||||
}
|
}
|
||||||
@ -267,7 +271,7 @@ else{
|
|||||||
|
|
||||||
function page_loaded(){
|
function page_loaded(){
|
||||||
<?
|
<?
|
||||||
if(($program[0][cmd] == "comment") && ($program[0][comment] == "--debug")){ //we are in debug mode
|
if(($program[0]['cmd'] == "comment") && ($program[0]['comment'] == "--debug")){ //we are in debug mode
|
||||||
?>
|
?>
|
||||||
console.log("### We are in DEBUG Mode!!!");
|
console.log("### We are in DEBUG Mode!!!");
|
||||||
$("#init_box_content").html(init_box_content);
|
$("#init_box_content").html(init_box_content);
|
||||||
|
Loading…
Reference in New Issue
Block a user