Skip to content
Snippets Groups Projects
Commit 4bf5880c authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #450 from greezybacon/issue/deploy-next


oops: Fixup deploy for 1.8.1 and onward

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents ebfb0b45 9ff634ad
No related branches found
No related tags found
No related merge requests found
......@@ -46,8 +46,7 @@ class Manager extends Module {
if ($val == $action)
unset($argv[$idx]);
foreach (glob(dirname(__file__).'/modules/*.php') as $script)
include_once $script;
require_once dirname(__file__)."/modules/{$args['action']}.php";
if (($module = Module::getInstance($action)))
return $module->_run($args['action']);
......
......@@ -48,6 +48,8 @@ class FileManager extends Module {
function run($args, $options) {
if (!defined('OST_INSTALLED'))
$this->fail('Install your config file into `include/`');
Bootstrap::connect();
osTicket::start();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment