Refactor date handling to use DateTime directly and improve PDO usage consistency
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / test (push) Blocked by required conditions
CI / generate-phpdoc (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / test (push) Blocked by required conditions
CI / generate-phpdoc (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
This commit is contained in:
parent
e42505873c
commit
14ed24049e
10 changed files with 29 additions and 17 deletions
9
main
9
main
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
if (PHP_SAPI !== 'cli')
|
||||
use FederationServer\Program;
|
||||
use ncc\Classes\Runtime;
|
||||
|
||||
if (PHP_SAPI !== 'cli')
|
||||
{
|
||||
print('net.nosial.federation must be run from the command line.' . PHP_EOL);
|
||||
exit(1);
|
||||
|
@ -20,5 +23,5 @@
|
|||
}
|
||||
|
||||
require('ncc');
|
||||
\ncc\Classes\Runtime::import('net.nosial.federation', 'latest');
|
||||
exit(\FederationServer\Program::main($argv));
|
||||
Runtime::import('net.nosial.federation', 'latest');
|
||||
exit(Program::main($argv));
|
Loading…
Add table
Add a link
Reference in a new issue