Skip to content

Commit 9e360dd

Browse files
committed
remove bug at startup
1 parent c3f85e8 commit 9e360dd

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

functions.php

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<?php
22
//echo 'functions 1.04';
33
define('fversion',2.04);
4-
$build = "38494-2347046334";
5-
$runfile = basename($argv[0]);
6-
if (isset($argv[1]) and $runfile == 'functions.php') {
7-
echo 'Functions v'.fversion.PHP_EOL;
8-
echo 'Build '.$build.PHP_EOL;
9-
exit;
10-
}
4+
$build = "38536-3213837468";
5+
if (isset($argv)) {
6+
$runfile = basename($argv[0]);
7+
if (isset($argv[1]) and $runfile == 'functions.php') {
8+
echo 'Functions v'.fversion.PHP_EOL;
9+
echo 'Build '.$build.PHP_EOL;
10+
exit;
11+
}
12+
}
1113
function get_boot_time() {
1214
$tmp = explode(' ', file_get_contents('/proc/uptime'));
1315

0 commit comments

Comments
 (0)