mirror of
https://github.com/retailcrm/legacy.git
synced 2024-11-29 08:46:03 +03:00
21 lines
381 B
PHP
21 lines
381 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';
|
||
|
|
||
|
$options = getopt('luce:m:p:r:h:');
|
||
|
|
||
|
if (isset($options['e'])) {
|
||
|
$command = new Command($options);
|
||
|
$command->run();
|
||
|
} else {
|
||
|
CommandHelper::runHelp();
|
||
|
}
|