Passed
Push — develop ( 225864...73f8c7 )
by Nikolay
08:07 queued 03:40
created

Entrypoint::start()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 19
Code Lines 15

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 15
c 0
b 0
f 0
dl 0
loc 19
rs 9.7666
cc 2
nc 2
nop 0
1
#!/usr/bin/php -f
2
<?php
3
/*
4
 * MikoPBX - free phone system for small business
5
 * Copyright © 2017-2024 Alexey Portnov and Nikolay Beketov
6
 *
7
 * This program is free software: you can redistribute it and/or modify
8
 * it under the terms of the GNU General Public License as published by
9
 * the Free Software Foundation; either version 3 of the License, or
10
 * (at your option) any later version.
11
 *
12
 * This program is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 * GNU General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU General Public License along with this program.
18
 * If not, see <https://www.gnu.org/licenses/>.
19
 */
20
21
require_once('Globals.php');
22
23
use MikoPBX\Core\System\DockerEntrypoint;
24
use MikoPBX\Core\System\Util;
25
26
Util::echoWithSyslog(' - Start Entrypoint (php)... ' . PHP_EOL);
27
$main = new DockerEntrypoint();
28
$main->start();