legacy/retailcrm/app.php
Alex Lushpai 1fd90324ca temporary disable OptHelper
fix getDate method (add file not empty check)
2016-02-10 23:13:02 +03:00

23 lines
408 B
PHP

<?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';
$shortopts = 'dluce:m:p:r:h:';
$options = getopt($shortopts);
if (isset($options['e'])) {
$command = new Command($options);
$command->run();
} else {
CommandHelper::runHelp();
}