Skip to content

Commit

Permalink
cli: Class Not Found
Browse files Browse the repository at this point in the history
This addresses a small issue where the osTicket class could not be found in
manage.php. This moves the boostrap.php include above the osTicket call to
ensure the class is loaded before use.
  • Loading branch information
JediKev committed Oct 25, 2023
1 parent 0375576 commit 4689926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage.php
Expand Up @@ -18,12 +18,12 @@
vim: expandtab sw=4 ts=4 sts=4:
**********************************************************************/
require_once 'bootstrap.php';

// Make sure the script is executed via CLI
if (!osTicket::is_cli())
die("Management only supported from command-line\n");

require_once 'bootstrap.php';
require_once CLI_DIR . 'cli.inc.php';
class Manager extends Module {
var $prologue =
Expand Down

0 comments on commit 4689926

Please sign in to comment.