diff --git a/action.php b/action.php index dce5208..a71659e 100644 --- a/action.php +++ b/action.php @@ -358,7 +358,6 @@ switch ($VARS['action']) { } break; case "getreceipt": - require_once __DIR__ . "/lib/generatereceipt.php"; $format = "html"; $width = 48; if (isset($VARS['width']) && preg_match("/[0-9]+/", $VARS['width']) && (int) $VARS['width'] > 0) { @@ -694,7 +693,6 @@ switch ($VARS['action']) { returnToSender("register_saved"); case "xreport": - require_once __DIR__ . "/lib/generatereceipt.php"; $format = "html"; $width = 64; if (isset($VARS['width']) && preg_match("/[0-9]+/", $VARS['width']) && (int) $VARS['width'] > 0) { @@ -713,7 +711,6 @@ switch ($VARS['action']) { exit(GenerateReceipt::outputReceipt($receipt, $format, $width, "X Report")); break; case "zreport": - require_once __DIR__ . "/lib/generatereceipt.php"; $format = "html"; $width = 64; if (isset($VARS['width']) && preg_match("/[0-9]+/", $VARS['width']) && (int) $VARS['width'] > 0) {