legacy/retailcrm/app.php

21 lines
382 B
PHP
Raw Normal View History

2015-10-30 11:30:51 +03:00
<?php
if (
function_exists('date_default_timezone_set')
&&
function_exists('date_default_timezone_get')
) {
date_default_timezone_set(@date_default_timezone_get());
}
require_once 'bootstrap.php';
2015-11-16 17:45:35 +03:00
$options = getopt('dluce:m:p:r:h:');
2015-10-30 11:30:51 +03:00
if (isset($options['e'])) {
$command = new Command($options);
$command->run();
} else {
CommandHelper::runHelp();
}