$pattern = $this->outputDir . $this->getHashedFilename() . '*'; $find = glob($pattern); if( is_array($find) && count($find) ) { foreach ($find as $file) { if ( ! unlink($file) ) { throw new CannotRemoveFileException("File '{$file}' cannot be removed"); }
// an exception is thrown. This prevents any partial views from leaking. try { include $__path; } catch (\Exception $e) { $this->handleViewException($e); }
} $compiled = $this->compiler->getCompiledPath($path); // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($compiled, $data); array_pop($this->lastCompiled);
/** * Get the evaluated contents of the view. * * @return string */ protected function getContents() { return $this->engine->get($this->path, $this->gatherData()); }
// We will keep track of the amount of views being rendered so we can flush // the section after the complete rendering operation is done. This will // clear out the sections for any separate views that may be rendered. $this->environment->incrementRender(); $this->environment->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count
* Get the string contents of the view. * * @param \Closure $callback * @return string */ public function render(Closure $callback = null) { $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null;
} // If this content implements the "RenderableInterface", then we will call the // render method on the object so we will avoid any "__toString" exceptions // that might be thrown and have their errors obscured by PHP's handling. elseif ($content instanceof RenderableInterface) { $content = $content->render(); }
* @throws \InvalidArgumentException When the HTTP status code is not valid * * @api */ public function __construct($content = '', $status = 200, $headers = array()) { $this->headers = new ResponseHeaderBag($headers); $this->setContent($content); $this->setStatusCode($status); $this->setProtocolVersion('1.0');
* @param mixed $response * @return \Illuminate\Http\Response */ protected function prepareResponse($request, $response) { if ( ! $response instanceof SymfonyResponse) { $response = new Response($response); }
$response = $this->callRouteBefore($route, $request); if (is_null($response)) { $response = $route->run($request); } $response = $this->prepareResponse($request, $response); // After we have a prepared response from the route or filter we will call to
// If no response was returned from the before filter, we will call the proper // route instance to get the response. If no route is found a response will // still get returned based on why no routes were found for this request. $response = $this->callFilter('before', $request); if (is_null($response)) { $response = $this->dispatchToRoute($request); }
} if ($this->runningUnitTests() && ! $this['session']->isStarted()) { $this['session']->start(); } return $this['router']->dispatch($this->prepareRequest($request)); }
{ try { $this->refreshRequest($request = Request::createFromBase($request)); $this->boot(); return $this->dispatch($request); } catch (\Exception $e)
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $response = $this->app->handle($request, $type, $catch); $response->headers->set('X-Frame-Options', 'SAMEORIGIN', false);
if ($this->sessionConfigured()) { $session = $this->startSession($request); $request->setSession($session); } $response = $this->app->handle($request, $type, $catch); // Again, if the session has been configured we will need to close out the session
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $response = $this->app->handle($request, $type, $catch); foreach ($this->cookies->getQueuedCookies() as $cookie)
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch)); }
{ $this->app = $app; $this->middlewares = $middlewares; } public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->app->handle($request, $type, $catch); }
* @param \Symfony\Component\HttpFoundation\Request $request * @return void */ public function run(SymfonyRequest $request = null) { $request = $request ?: $this['request']; $response = with($stack = $this->getStackedClient())->handle($request); $response->send();
| and wonderful application we have whipped up for them. | */ $dotenv = new Dotenv\Dotenv(__DIR__ . '/..'); $dotenv->load(); $app->run();
Key | Value |
PHP_EXTRA_CONFIGURE_ARGS | --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi |
PHP_FPM_CLEAR_ENV | no |
APP_DEBUG | false |
WALTER_VER | 1.3.0 |
PHP_INI_DIR | /usr/local/etc/php |
HOSTNAME | 9be6f1da0ab6 |
SHLVL | 1 |
HOME | /home/wodby |
APP_ROOT | /var/www/html |
DB_NAME | weissbierv1 |
SSHD_HOST_KEYS_DIR | /etc/ssh |
CONF_DIR | /var/www/conf |
GIT_USER_EMAIL | wodby@example.com |
PHP_LDFLAGS | -Wl,-O1 -Wl,--hash-style=both -pie |
PHP_MD5 | |
PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
SSHD_PERMIT_USER_ENV | yes |
PHP_VERSION | 7.0.32 |
GPG_KEYS | 1A4E8B7277C42E53DBA9C7B9BCAA30EA9C0D5763 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 |
FILES_DIR | /mnt/files |
PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
PHP_ASC_URL | https://secure.php.net/get/php-7.0.32.tar.xz.asc/from/this/mirror |
PHP_DEBUG | |
GIT_USER_NAME | wodby |
PHP_URL | https://secure.php.net/get/php-7.0.32.tar.xz/from/this/mirror |
PHP_SENDMAIL_PATH | /usr/sbin/sendmail -t -i -S mailhog:1025 |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/wodby/.composer/vendor/bin:/var/www/html/vendor/bin |
PHP_FPM_USER | wodby |
GOTPL_VER | 0.1.5 |
PHP_FPM_GROUP | wodby |
DB_PASSWORD | !@5spQpy6zFAgmnaN_1 |
PWD | /var/www/html |
PHPIZE_DEPS | autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c |
PHP_SHA256 | ff6f62afeb32c71b3b89ecbd42950ef6c5e0c329cc6e1c58ffac47e6f1f883c4 |
PHP_PRESTISSIMO_VER | 0.3 |
PHP_DEV | 1 |
DB_HOST | ab-inbev-prod-flexi.mysql.database.azure.com |
DB_USER | weissbier |
LOGNAME | root |
USER | wodby |
USERNAME | root |
SHELL | /bin/ash |
TERM | unknown |
SUDO_COMMAND | /usr/local/sbin/php-fpm |
SUDO_USER | wodby |
SUDO_UID | 1000 |
SUDO_GID | 1000 |
LD_PRELOAD | /usr/lib/preloadable_libiconv.so |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_X_REAL_IP | 192.168.137.53 |
HTTP_X_ORIGINAL_URL | /genussvolle-auszeit/sommelier-abende-gutschein |
HTTP_X_ORIGINAL_HOST | franziskaner-weissbier.de |
HTTP_X_FORWARDED_SERVER | aad5535997ee |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_PORT | 443 |
HTTP_X_FORWARDED_HOST | franziskaner-weissbier.de |
HTTP_X_FORWARDED_FOR | 192.168.137.53 |
HTTP_X_APPGW_TRACE_ID | 1bd6b757c16d4bb3b4a69162a25d3b4f |
HTTP_REFERER | https://www.franziskaner-weissbier.de/genussvolle-auszeit/sommelier-abende-gutschein |
HTTP_INCAP_CLIENT_IP | 44.192.107.255 |
HTTP_CDN_LOOP | IncapCDN; id="511_2234704_0" |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | franziskaner-weissbier.de |
SCRIPT_FILENAME | /var/www/html/public/index.php |
SCRIPT_NAME | /index.php |
QUERY_STRING | |
HTTP_MOD_REWRITE | On |
HTTPS | on |
REDIRECT_STATUS | 200 |
SERVER_NAME | default |
SERVER_PORT | 80 |
SERVER_ADDR | 172.25.0.3 |
REMOTE_PORT | 41574 |
REMOTE_ADDR | 172.25.0.4 |
SERVER_SOFTWARE | nginx/1.25.3 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /var/www/html/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /genussvolle-auszeit/sommelier-abende-gutschein |
CONTENT_LENGTH | |
REQUEST_METHOD | GET |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711645312.8974 |
REQUEST_TIME | 1711645312 |
argv | Array ( ) |
argc | 0 |
PROJECT_NAME | franziskaner |
PROJECT_BASE_URL | franziskaner-weissbier.de |
PROJECT_BASE_URL_2 | franziskaner-alkoholfrei.de |
DB_ROOT_PASSWORD | |
DB_DRIVER | mysql |
MARLIN_STAGE | dev |
APP_ENV | dev |
MARLINSCRIPTS_HEADER_ALKOHOLFREI | <script src='https://cdn.cookielaw.org/consent/7dbd2420-41f2-4e4e-9949-aba0ccc64ad3.js' type='text/javascript' charset='UTF-8'></script> |
MARLINSCRIPTS_HEADER_WEISSBIER | <script src='https://cdn.cookielaw.org/consent/c5f6d441-5015-4b00-98bf-7ee4b13e5b57.js' type='text/javascript' charset='UTF-8'></script> |
MARLINSCRIPTS_FOOTER | |
MARLINSCRIPTS_PP | https://legal.ab-inbev.com/js/legalApp-sdk.min.js |
MARLINSMTP_HOST | smtp.sendgrid.net |
MARLINSMTP_PORT | 587 |
MARLINSMTP_USER | apikey |
MARLINSMTP_PASSWORD | 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 |
PHP_TAG | 7.0-dev |
NGINX_TAG | 1.23-5.29.0 |
NODE_TAG | 12-dev-0.33.1 |
MARIADB_TAG | 10.4-3.7.6 |
POSTGRES_TAG | 12-1.9.1 |
REDIS_TAG | 5-3.2.2 |
VARNISH_TAG | 6.0-4.4.4 |
ELASTICSEARCH_TAG | 7-5.4.0 |
KIBANA_TAG | 7-5.4.0 |
SOLR_TAG | 8-4.4.1 |
ADMINER_TAG | 4-3.9.4 |
APACHE_TAG | 2.4-4.11.0 |
ATHENAPDF_TAG | 2.10.0 |
MEMCACHED_TAG | 1-2.4.1 |
RSYSLOG_TAG | latest |
WEBGRIND_TAG | 1-1.14.3 |
OPENSMTPD_TAG | 6.0-1.6.3 |
XHPROF_TAG | 2.1.3 |
Key | Value |
PHP_EXTRA_CONFIGURE_ARGS | --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi |
PHP_FPM_CLEAR_ENV | no |
APP_DEBUG | false |
WALTER_VER | 1.3.0 |
PHP_INI_DIR | /usr/local/etc/php |
HOSTNAME | 9be6f1da0ab6 |
SHLVL | 1 |
HOME | /home/wodby |
APP_ROOT | /var/www/html |
DB_NAME | weissbierv1 |
SSHD_HOST_KEYS_DIR | /etc/ssh |
CONF_DIR | /var/www/conf |
GIT_USER_EMAIL | wodby@example.com |
PHP_LDFLAGS | -Wl,-O1 -Wl,--hash-style=both -pie |
PHP_MD5 | |
PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
SSHD_PERMIT_USER_ENV | yes |
PHP_VERSION | 7.0.32 |
GPG_KEYS | 1A4E8B7277C42E53DBA9C7B9BCAA30EA9C0D5763 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 |
FILES_DIR | /mnt/files |
PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
PHP_ASC_URL | https://secure.php.net/get/php-7.0.32.tar.xz.asc/from/this/mirror |
PHP_DEBUG | |
GIT_USER_NAME | wodby |
PHP_URL | https://secure.php.net/get/php-7.0.32.tar.xz/from/this/mirror |
PHP_SENDMAIL_PATH | /usr/sbin/sendmail -t -i -S mailhog:1025 |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/wodby/.composer/vendor/bin:/var/www/html/vendor/bin |
PHP_FPM_USER | wodby |
GOTPL_VER | 0.1.5 |
PHP_FPM_GROUP | wodby |
DB_PASSWORD | !@5spQpy6zFAgmnaN_1 |
PWD | /var/www/html |
PHPIZE_DEPS | autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c |
PHP_SHA256 | ff6f62afeb32c71b3b89ecbd42950ef6c5e0c329cc6e1c58ffac47e6f1f883c4 |
PHP_PRESTISSIMO_VER | 0.3 |
PHP_DEV | 1 |
DB_HOST | ab-inbev-prod-flexi.mysql.database.azure.com |
DB_USER | weissbier |
LOGNAME | root |
USER | wodby |
USERNAME | root |
SHELL | /bin/ash |
TERM | unknown |
SUDO_COMMAND | /usr/local/sbin/php-fpm |
SUDO_USER | wodby |
SUDO_UID | 1000 |
SUDO_GID | 1000 |
LD_PRELOAD | /usr/lib/preloadable_libiconv.so |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_X_REAL_IP | 192.168.137.53 |
HTTP_X_ORIGINAL_URL | /genussvolle-auszeit/sommelier-abende-gutschein |
HTTP_X_ORIGINAL_HOST | franziskaner-weissbier.de |
HTTP_X_FORWARDED_SERVER | aad5535997ee |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_PORT | 443 |
HTTP_X_FORWARDED_HOST | franziskaner-weissbier.de |
HTTP_X_FORWARDED_FOR | 192.168.137.53 |
HTTP_X_APPGW_TRACE_ID | 1bd6b757c16d4bb3b4a69162a25d3b4f |
HTTP_REFERER | https://www.franziskaner-weissbier.de/genussvolle-auszeit/sommelier-abende-gutschein |
HTTP_INCAP_CLIENT_IP | 44.192.107.255 |
HTTP_CDN_LOOP | IncapCDN; id="511_2234704_0" |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | franziskaner-weissbier.de |
SCRIPT_FILENAME | /var/www/html/public/index.php |
SCRIPT_NAME | /index.php |
QUERY_STRING | |
HTTP_MOD_REWRITE | On |
HTTPS | on |
REDIRECT_STATUS | 200 |
SERVER_NAME | default |
SERVER_PORT | 80 |
SERVER_ADDR | 172.25.0.3 |
REMOTE_PORT | 41574 |
REMOTE_ADDR | 172.25.0.4 |
SERVER_SOFTWARE | nginx/1.25.3 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /var/www/html/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /genussvolle-auszeit/sommelier-abende-gutschein |
CONTENT_LENGTH | |
REQUEST_METHOD | GET |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711645312.8974 |
REQUEST_TIME | 1711645312 |
argv | Array ( ) |
argc | 0 |
PROJECT_NAME | franziskaner |
PROJECT_BASE_URL | franziskaner-weissbier.de |
PROJECT_BASE_URL_2 | franziskaner-alkoholfrei.de |
DB_ROOT_PASSWORD | |
DB_DRIVER | mysql |
MARLIN_STAGE | dev |
APP_ENV | dev |
MARLINSCRIPTS_HEADER_ALKOHOLFREI | <script src='https://cdn.cookielaw.org/consent/7dbd2420-41f2-4e4e-9949-aba0ccc64ad3.js' type='text/javascript' charset='UTF-8'></script> |
MARLINSCRIPTS_HEADER_WEISSBIER | <script src='https://cdn.cookielaw.org/consent/c5f6d441-5015-4b00-98bf-7ee4b13e5b57.js' type='text/javascript' charset='UTF-8'></script> |
MARLINSCRIPTS_FOOTER | |
MARLINSCRIPTS_PP | https://legal.ab-inbev.com/js/legalApp-sdk.min.js |
MARLINSMTP_HOST | smtp.sendgrid.net |
MARLINSMTP_PORT | 587 |
MARLINSMTP_USER | apikey |
MARLINSMTP_PASSWORD | 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 |
PHP_TAG | 7.0-dev |
NGINX_TAG | 1.23-5.29.0 |
NODE_TAG | 12-dev-0.33.1 |
MARIADB_TAG | 10.4-3.7.6 |
POSTGRES_TAG | 12-1.9.1 |
REDIS_TAG | 5-3.2.2 |
VARNISH_TAG | 6.0-4.4.4 |
ELASTICSEARCH_TAG | 7-5.4.0 |
KIBANA_TAG | 7-5.4.0 |
SOLR_TAG | 8-4.4.1 |
ADMINER_TAG | 4-3.9.4 |
APACHE_TAG | 2.4-4.11.0 |
ATHENAPDF_TAG | 2.10.0 |
MEMCACHED_TAG | 1-2.4.1 |
RSYSLOG_TAG | latest |
WEBGRIND_TAG | 1-1.14.3 |
OPENSMTPD_TAG | 6.0-1.6.3 |
XHPROF_TAG | 2.1.3 |