mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 23:30:35 -04:00
Improve some type safety
This commit is contained in:
parent
cae117951b
commit
905aef22fa
6 changed files with 19 additions and 2 deletions
|
@ -1,4 +1,10 @@
|
|||
<?
|
||||
use function Safe\file_get_contents;
|
||||
use function Safe\getopt;
|
||||
use function Safe\krsort;
|
||||
use function Safe\preg_replace;
|
||||
use function Safe\strtotime;
|
||||
|
||||
$longopts = array("webroot:", "weburl:");
|
||||
$options = getopt("", $longopts);
|
||||
$webRoot = $options["webroot"] ?? "/standardebooks.org/web";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue