Spaces:
Runtime error
Runtime error
Download symfony/runtime/Internal/autoload_runtime.template from Alcazard/vibe-coding-api: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/runtime/Internal/autoload_runtime.template
- Command line
-
hf download hf://spaces/Alcazard/vibe-coding-api/symfony/runtime/Internal/autoload_runtime.template
-
curl -L -o autoload_runtime.template https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/runtime/Internal/autoload_runtime.template
756 Bytes
| // autoload_runtime.php @generated by Symfony Runtime | |
| if (true === (require_once __DIR__.'/autoload.php') || empty($_SERVER['SCRIPT_FILENAME'])) { | |
| return; | |
| } | |
| $app = require $_SERVER['SCRIPT_FILENAME']; | |
| if (!is_object($app)) { | |
| throw new TypeError(sprintf('Invalid return value: callable object expected, "%s" returned from "%s".', get_debug_type($app), $_SERVER['SCRIPT_FILENAME'])); | |
| } | |
| $runtime = $_SERVER['APP_RUNTIME'] ?? $_ENV['APP_RUNTIME'] ?? %runtime_class%; | |
| $runtime = new $runtime(($_SERVER['APP_RUNTIME_OPTIONS'] ?? $_ENV['APP_RUNTIME_OPTIONS'] ?? []) + %runtime_options%); | |
| [$app, $args] = $runtime | |
| ->getResolver($app) | |
| ->resolve(); | |
| $app = $app(...$args); | |
| exit( | |
| $runtime | |
| ->getRunner($app) | |
| ->run() | |
| ); | |