diff options
| author | winter | 2024-12-09 21:13:16 +0000 |
|---|---|---|
| committer | winter | 2024-12-09 21:13:16 +0000 |
| commit | 1ab1c4d9c6a28e9929052bd00f15866eb1a5a200 (patch) | |
| tree | 1396a368e7e05eb3c701d69deb9311d7361dd2ba /bin/shell | |
| parent | bda28640d6e066ae338c6f31407df274ed09f026 (diff) | |
implement webfinger lookups
Diffstat (limited to 'bin/shell')
| -rwxr-xr-x | bin/shell | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/shell b/bin/shell new file mode 100755 index 0000000..d699a14 --- /dev/null +++ b/bin/shell @@ -0,0 +1,12 @@ +#!/bin/sh +# set up autoloads<?php echo "\n"; goto skipShell; ?> +cd "$(dirname "$0")/../" || exit 1 +php -a -d auto_prepend_file=bin/shell +exit + +<?php skipShell: +require __DIR__ . '/../vendor/autoload.php'; +foreach (glob(__DIR__ . '/../misc/*.php') as $filename) { + require $filename; +} + |
