$this->sections[$section] = $content;
}
/**
* Get the string contents of a section.
*
* @param string $section
* @param string $default
* @return string
*/
public function yieldContent($section, $default = '')
{
$sectionContent = $default instanceof View ? $default : e($default);
if (isset($this->sections[$section])) {
$sectionContent = $this->sections[$section];
}
$sectionContent = str_replace('@@parent', '--parent--holder--', $sectionContent);
return str_replace(
'--parent--holder--', '@parent', str_replace(static::parentPlaceholder($section), '', $sectionContent)
);
}
/**
* Get the parent placeholder for the current request.
*
* @param string $section
* @return string
*/
public static function parentPlaceholder($section = '')
{
if (! isset(static::$parentPlaceholder[$section])) {
static::$parentPlaceholder[$section] = '##parent-placeholder-'.sha1($section).'##';
}
return static::$parentPlaceholder[$section];
}
"Method Illuminate\View\View::__toString() must not throw an exception, caught ErrorException: Undefined variable: settings (View: /var/www/kelos123/data/www/3dpro.az/resources/views/front/layouts/defaultOGMeta.blade.php)"
Key | Value |
model | "1391"
|
Key | Value |
PATH | "/usr/local/bin:/usr/bin:/bin"
|
REDIRECT_HANDLER | "application/x-httpd-php5"
|
REDIRECT_STATUS | "200"
|
UNIQUE_ID | "ZgbR9ZHan4Kd7UFJxU5D9gAAAAo"
|
HTTP_HOST | "3dpro.az"
|
HTTP_X_FORWARDED_FOR | "44.200.27.175"
|
HTTP_X_FORWARDED_PROTO | "http"
|
HTTP_X_FORWARDED_PORT | "80"
|
HTTP_CONNECTION | "close"
|
HTTP_ACCEPT_ENCODING | "gzip"
|
HTTP_CF_RAY | "86c097dc1ef75a3a-IAD"
|
HTTP_CF_VISITOR | "{"scheme":"http"}"
|
HTTP_ACCEPT | "*/*"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_CF_CONNECTING_IP | "44.200.27.175"
|
HTTP_CDN_LOOP | "cloudflare"
|
HTTP_CF_IPCOUNTRY | "US"
|
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16"
|
SERVER_NAME | "3dpro.az"
|
SERVER_ADDR | "127.0.0.1"
|
SERVER_PORT | "80"
|
REMOTE_ADDR | "44.200.27.175"
|
DOCUMENT_ROOT | "/var/www/kelos123/data/www/3dpro.az"
|
REQUEST_SCHEME | "http"
|
CONTEXT_PREFIX | "/php-bin/"
|
CONTEXT_DOCUMENT_ROOT | "/var/www/php-bin-isp-php72/kelos123/"
|
SERVER_ADMIN | "[email protected]"
|
SCRIPT_FILENAME | "/var/www/kelos123/data/www/3dpro.az/public/index.php"
|
REMOTE_PORT | "57344"
|
REDIRECT_QUERY_STRING | "model=1391"
|
REDIRECT_URL | "/public/index.php"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
SERVER_PROTOCOL | "HTTP/1.0"
|
REQUEST_METHOD | "GET"
|
QUERY_STRING | "model=1391"
|
REQUEST_URI | "/about-model?model=1391"
|
SCRIPT_NAME | "/public/index.php"
|
ORIG_SCRIPT_FILENAME | "/var/www/php-bin-isp-php72/kelos123/php"
|
ORIG_PATH_INFO | "/public/index.php"
|
ORIG_PATH_TRANSLATED | "/var/www/kelos123/data/www/3dpro.az/public/index.php"
|
ORIG_SCRIPT_NAME | "/php-bin/php"
|
PHP_SELF | "/public/index.php"
|
REQUEST_TIME_FLOAT | 1711722997.3594
|
REQUEST_TIME | 1711722997
|