mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Switch to new array shorthand
This commit is contained in:
parent
acdc7eb639
commit
7be2f18424
4 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ use function Safe\krsort;
|
|||
use function Safe\preg_replace;
|
||||
use function Safe\strtotime;
|
||||
|
||||
$longopts = array("webroot:", "weburl:");
|
||||
$longopts = ["webroot:", "weburl:"];
|
||||
$options = getopt("", $longopts);
|
||||
$webRoot = $options["webroot"] ?? "/standardebooks.org/web";
|
||||
$webUrl = $options["weburl"] ?? "https://standardebooks.org";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue