X-Git-Url: http://git.pjr.cc/?p=CBFWR.git;a=blobdiff_plain;f=libcbfwr%2Fconfig.php;h=70878f58a64e6987dd944ac1b7e59f1a7c9af9f1;hp=2f6ce0b7704fe1c68e89530f921f5a6299ae54be;hb=cb45585d92144a65ff25bc1109cde4cbf60913de;hpb=2bd3b834225a8b7aaf79b8114c958737411a8281 diff --git a/libcbfwr/config.php b/libcbfwr/config.php index 2f6ce0b..70878f5 100644 --- a/libcbfwr/config.php +++ b/libcbfwr/config.php @@ -163,6 +163,7 @@ class Config { } echo "process command ".$expl[0]."\n"; + // TODO: when dealing with descriptions, we need to deal with a null description (i.e. delete the description) // find a description $description = null; $hasdescription = false; @@ -186,6 +187,12 @@ class Config { $expl = $expl_r; } + // this is a special case for debugging + if($expl[0] == "hold") { + error_log("command is $line"); + return 0; + } + $delete = false; // check for delete on the line if($expl[0] == "delete") {