/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
case '1429':
case '2002':
case '2005':
return new ConnectionException($message, $exception);
case '2006':
return new ConnectionLost($message, $exception);
case '1048':
case '1121':
case '1138':
case '1171':
case '1252':
case '1263':
case '1364':
case '1566':
return new NotNullConstraintViolationException($message, $exception);
}
return new DriverException($message, $exception);
}
/**
* {@inheritdoc}
*
* @throws Exception
*/
public function createDatabasePlatformForVersion($version)
{
$mariadb = stripos($version, 'mariadb') !== false;
if ($mariadb && version_compare($this->getMariaDbMysqlVersionNumber($version), '10.2.7', '>=')) {
return new MariaDb1027Platform();
}
if (! $mariadb) {
$oracleMysqlVersion = $this->getOracleMysqlVersionNumber($version);
if (version_compare($oracleMysqlVersion, '8', '>=')) {
return new MySQL80Platform();
}
Arguments
"""
An exception occurred while executing 'UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?' with params [1, 191, 676, "Header Navigation", "<ul class=\"nav\"><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/portfolio\" target=\"_self\" class=\"\">Portfolio<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/clients\" target=\"_self\" class=\"\">Clients<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/blog\" target=\"_self\" class=\"\">Insights<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/contact\" target=\"_self\" class=\"\">Contact<span class=\"nav-divider\"><\/span><\/a><\/li><\/ul>", 1794983113, 1, 191, "Header Navigation", 676]:\n
\n
SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement
"""
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
* @deprecated
*
* @return Exception
*/
public static function driverException(Driver $driver, Throwable $driverEx)
{
return self::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());
}
/**
* @return Exception
*/
private static function wrapException(Driver $driver, Throwable $driverEx, string $msg)
{
if ($driverEx instanceof DriverException) {
return $driverEx;
}
if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DeprecatedDriverException) {
return $driver->convertException($msg, $driverEx);
}
return new Exception($msg, 0, $driverEx);
}
/**
* Returns a human-readable representation of an array of parameters.
* This properly handles binary data by returning a hex representation.
*
* @param mixed[] $params
*
* @return string
*/
private static function formatParameters(array $params)
{
return '[' . implode(', ', array_map(static function ($param) {
if (is_resource($param)) {
return (string) $param;
}
Arguments
"""
An exception occurred while executing 'UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?' with params [1, 191, 676, "Header Navigation", "<ul class=\"nav\"><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/portfolio\" target=\"_self\" class=\"\">Portfolio<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/clients\" target=\"_self\" class=\"\">Clients<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/blog\" target=\"_self\" class=\"\">Insights<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/contact\" target=\"_self\" class=\"\">Contact<span class=\"nav-divider\"><\/span><\/a><\/li><\/ul>", 1794983113, 1, 191, "Header Navigation", 676]:\n
\n
SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement
"""
Doctrine\DBAL\Driver\PDO\Exception {#3870
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#3864
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
}
/**
* @deprecated
*
* @param string $sql
* @param mixed[] $params
*
* @return Exception
*/
public static function driverExceptionDuringQuery(Driver $driver, Throwable $driverEx, $sql, array $params = [])
{
$msg = "An exception occurred while executing '" . $sql . "'";
if ($params) {
$msg .= ' with params ' . self::formatParameters($params);
}
$msg .= ":\n\n" . $driverEx->getMessage();
return self::wrapException($driver, $driverEx, $msg);
}
/**
* @deprecated
*
* @return Exception
*/
public static function driverException(Driver $driver, Throwable $driverEx)
{
return self::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());
}
/**
* @return Exception
*/
private static function wrapException(Driver $driver, Throwable $driverEx, string $msg)
{
if ($driverEx instanceof DriverException) {
return $driverEx;
}
Arguments
Concrete\Core\Database\Driver\PDOMySqlConcrete\Driver {#132}
Doctrine\DBAL\Driver\PDO\Exception {#3870
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#3864
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
"""
An exception occurred while executing 'UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?' with params [1, 191, 676, "Header Navigation", "<ul class=\"nav\"><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/portfolio\" target=\"_self\" class=\"\">Portfolio<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/clients\" target=\"_self\" class=\"\">Clients<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/blog\" target=\"_self\" class=\"\">Insights<span class=\"nav-divider\"><\/span><\/a><\/li><li class=\" nav-item\"><a href=\"https:\/\/v4development.com\/contact\" target=\"_self\" class=\"\">Contact<span class=\"nav-divider\"><\/span><\/a><\/li><\/ul>", 1794983113, 1, 191, "Header Navigation", 676]:\n
\n
SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement
"""
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
return true;
} catch (DBALException $e) {
return false;
}
}
/**
* @internal
*
* @param array<int, mixed>|array<string, mixed> $params
* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
*
* @psalm-return never-return
*
* @throws Exception
*/
public function handleExceptionDuringQuery(Throwable $e, string $sql, array $params = [], array $types = []): void
{
$this->throw(
Exception::driverExceptionDuringQuery(
$this->_driver,
$e,
$sql,
$this->resolveParams($params, $types)
)
);
}
/**
* @internal
*
* @psalm-return never-return
*
* @throws Exception
*/
public function handleDriverException(Throwable $e): void
{
$this->throw(
Exception::driverException(
$this->_driver,
Arguments
Concrete\Core\Database\Driver\PDOMySqlConcrete\Driver {#132}
Doctrine\DBAL\Driver\PDO\Exception {#3870
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#3864
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
"UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?"
array:10 [
1 => 1
2 => 191
3 => 676
4 => "Header Navigation"
5 => "<ul class="nav"><li class=" nav-item"><a href="https://v4development.com/portfolio" target="_self" class="">Portfolio<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/clients" target="_self" class="">Clients<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/blog" target="_self" class="">Insights<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/contact" target="_self" class="">Contact<span class="nav-divider"></span></a></li></ul>"
6 => 1794983113
7 => 1
8 => 191
9 => "Header Navigation"
10 => 676
]
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
try {
if ($params) {
[$sql, $params, $types] = SQLParserUtils::expandListParameters($sql, $params, $types);
$stmt = $connection->prepare($sql);
if ($types) {
$this->_bindTypedValues($stmt, $params, $types);
$stmt->execute();
} else {
$stmt->execute($params);
}
$result = $stmt->rowCount();
} else {
$result = $connection->exec($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
}
if ($logger) {
$logger->stopQuery();
}
return $result;
}
/**
* Executes an SQL statement and return the number of affected rows.
*
* @deprecated Use {@link executeStatement()} instead.
*
* @param string $sql
Arguments
Doctrine\DBAL\Driver\PDO\Exception {#3870
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#3864
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
}
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
-errorCode: 1290
-sqlState: "HY000"
}
"UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?"
array:10 [
0 => 1
1 => 191
2 => 676
3 => "Header Navigation"
4 => "<ul class="nav"><li class=" nav-item"><a href="https://v4development.com/portfolio" target="_self" class="">Portfolio<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/clients" target="_self" class="">Clients<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/blog" target="_self" class="">Insights<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/contact" target="_self" class="">Contact<span class="nav-divider"></span></a></li></ul>"
5 => 1794983113
6 => 1
7 => 191
8 => "Header Navigation"
9 => 676
]
array:10 [
0 => null
1 => null
2 => null
3 => null
4 => null
5 => null
6 => null
7 => null
8 => null
9 => null
]
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Driver\PDO;
use Doctrine\DBAL\Driver\PDOException;
/**
* @internal
*
* @psalm-immutable
*/
final class Exception extends PDOException
{
public static function new(\PDOException $exception): self
{
return new self($exception);
}
}
Arguments
"SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
#[ReturnTypeWillChange]
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
return parent::fetch(...$args);
} catch (PDOException $exception) {
Arguments
PDOException {#3864
#message: "SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
#code: "HY000"
#file: "/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "HY000"
1 => 1290
2 => "The MySQL server is running with the --read-only option so it cannot execute this statement"
]
}
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
#[ReturnTypeWillChange]
public function closeCursor()
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
#[ReturnTypeWillChange]
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
Arguments
"SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement"
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
#[ReturnTypeWillChange]
public function closeCursor()
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
#[ReturnTypeWillChange]
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
Arguments
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
* @throws Exception
*/
public function executeStatement($sql, array $params = [], array $types = [])
{
$connection = $this->getWrappedConnection();
$logger = $this->_config->getSQLLogger();
if ($logger) {
$logger->startQuery($sql, $params, $types);
}
try {
if ($params) {
[$sql, $params, $types] = SQLParserUtils::expandListParameters($sql, $params, $types);
$stmt = $connection->prepare($sql);
if ($types) {
$this->_bindTypedValues($stmt, $params, $types);
$stmt->execute();
} else {
$stmt->execute($params);
}
$result = $stmt->rowCount();
} else {
$result = $connection->exec($sql);
}
} catch (Throwable $e) {
$this->handleExceptionDuringQuery(
$e,
$sql,
$params,
$types
);
}
if ($logger) {
$logger->stopQuery();
}
/home/dh_34ns3q/v4development.com_latest/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
public function update($table, array $data, array $criteria, array $types = [])
{
$columns = $values = $conditions = $set = [];
foreach ($data as $columnName => $value) {
$columns[] = $columnName;
$values[] = $value;
$set[] = $columnName . ' = ?';
}
$this->addCriteriaCondition($criteria, $columns, $values, $conditions);
if (is_string(key($types))) {
$types = $this->extractTypeValues($columns, $types);
}
$sql = 'UPDATE ' . $table . ' SET ' . implode(', ', $set)
. ' WHERE ' . implode(' AND ', $conditions);
return $this->executeStatement($sql, $values, $types);
}
/**
* Inserts a table row with specified data.
*
* Table expression and columns are not escaped and are not safe for user-input.
*
* @param string $table Table name
* @param array<string, mixed> $data Column-value pairs
* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types Parameter types
*
* @return int|string The number of affected rows.
*
* @throws Exception
*/
public function insert($table, array $data, array $types = [])
{
if (empty($data)) {
return $this->executeStatement('INSERT INTO ' . $table . ' () VALUES ()');
}
Arguments
"UPDATE CollectionVersionBlocksOutputCache SET cID = ?, cvID = ?, bID = ?, arHandle = ?, btCachedBlockOutput = ?, btCachedBlockOutputExpires = ? WHERE cID = ? AND cvID = ? AND arHandle = ? AND bID = ?"
array:10 [
0 => 1
1 => 191
2 => 676
3 => "Header Navigation"
4 => "<ul class="nav"><li class=" nav-item"><a href="https://v4development.com/portfolio" target="_self" class="">Portfolio<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/clients" target="_self" class="">Clients<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/blog" target="_self" class="">Insights<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/contact" target="_self" class="">Contact<span class="nav-divider"></span></a></li></ul>"
5 => 1794983113
6 => 1
7 => 191
8 => "Header Navigation"
9 => 676
]
array:10 [
0 => null
1 => null
2 => null
3 => null
4 => null
5 => null
6 => null
7 => null
8 => null
9 => null
]
/home/dh_34ns3q/v4development.com_latest/concrete/src/Database/Connection/Connection.php
if ($autoQuote) {
$field = $qb->expr()->literal($field === null ? '' : $field);
}
$where->add($qb->expr()->eq($key, $field));
}
$qb->where($where);
$sql = $qb->getSql();
$num = parent::query($sql)->fetchColumn();
if ($num) {
$update = true;
} else {
try {
$this->insert($table, $fieldArray);
$update = false;
} catch (UniqueConstraintViolationException $x) {
$update = true;
}
}
if ($update) {
$this->update($table, $fieldArray, $updateKeys);
}
}
/**
* @deprecated -
* alias to old ADODB method
*
* @param mixed $q
* @param mixed $arguments
*/
public function GetCol($q, $arguments = [])
{
$r = $this->fetchAll($q, $arguments);
$return = [];
foreach ($r as $value) {
$return[] = $value[key($value)];
}
return $return;
Arguments
"CollectionVersionBlocksOutputCache"
array:6 [
"cID" => 1
"cvID" => 191
"bID" => 676
"arHandle" => "Header Navigation"
"btCachedBlockOutput" => "<ul class="nav"><li class=" nav-item"><a href="https://v4development.com/portfolio" target="_self" class="">Portfolio<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/clients" target="_self" class="">Clients<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/blog" target="_self" class="">Insights<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/contact" target="_self" class="">Contact<span class="nav-divider"></span></a></li></ul>"
"btCachedBlockOutputExpires" => 1794983113
]
array:4 [
"cID" => 1
"cvID" => 191
"arHandle" => "Header Navigation"
"bID" => 676
]
/home/dh_34ns3q/v4development.com_latest/concrete/src/Block/Block.php
$db = app(Connection::class);
$c = $this->getBlockCollectionObject();
$btCachedBlockOutputExpires = strtotime('+5 years');
if ($lifetime > 0) {
$btCachedBlockOutputExpires = time() + $lifetime;
}
$arHandle = $this->getAreaHandle();
$cID = $c->getCollectionID();
$cvID = $c->getVersionID();
if ($this->isBlockInStack() && is_object($area)) {
$arHandle = $area->getAreaHandle();
$cx = Page::getCurrentPage();
$cID = $cx->getCollectioniD();
$cvID = $cx->getVersionID();
}
if ($arHandle && $cID && $cvID) {
$db->replace(
'CollectionVersionBlocksOutputCache',
[
'cID' => $cID,
'cvID' => $cvID,
'bID' => $this->getBlockID(),
'arHandle' => $arHandle,
'btCachedBlockOutput' => $content,
'btCachedBlockOutputExpires' => $btCachedBlockOutputExpires,
],
[
'cID',
'cvID',
'arHandle',
'bID',
],
true
);
}
}
Arguments
"CollectionVersionBlocksOutputCache"
array:6 [
"cID" => 1
"cvID" => 191
"bID" => 676
"arHandle" => "Header Navigation"
"btCachedBlockOutput" => "<ul class="nav"><li class=" nav-item"><a href="https://v4development.com/portfolio" target="_self" class="">Portfolio<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/clients" target="_self" class="">Clients<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/blog" target="_self" class="">Insights<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/contact" target="_self" class="">Contact<span class="nav-divider"></span></a></li></ul>"
"btCachedBlockOutputExpires" => 1794983113
]
array:4 [
0 => "cID"
1 => "cvID"
2 => "arHandle"
3 => "bID"
]
true
/home/dh_34ns3q/v4development.com_latest/concrete/src/Block/View/BlockView.php
}
}
return false;
}
public function field($field)
{
return $field;
}
public function usedBlockCacheDuringRender()
{
return $this->didPullFromOutputCache;
}
public function finishRender($contents)
{
if ($this->useBlockCache() && !$this->didPullFromOutputCache) {
$this->block->setBlockCachedOutput(
$this->outputContent,
$this->block->getBlockOutputCacheLifetime(),
$this->area
);
}
return $contents;
}
public function runControllerTask()
{
// First, check the block controller is already started.
$started = false;
$c = Page::getCurrentPage();
if (is_object($c) && is_object($this->block)) {
$pageController = $c->getPageController();
$blockController = $pageController->getBlockController($this->block);
if ($blockController) {
$this->controller = $blockController;
$started = true;
Arguments
"<ul class="nav"><li class=" nav-item"><a href="https://v4development.com/portfolio" target="_self" class="">Portfolio<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/clients" target="_self" class="">Clients<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/blog" target="_self" class="">Insights<span class="nav-divider"></span></a></li><li class=" nav-item"><a href="https://v4development.com/contact" target="_self" class="">Contact<span class="nav-divider"></span></a></li></ul>"
300
Concrete\Core\Area\GlobalArea {#3402}
/home/dh_34ns3q/v4development.com_latest/concrete/src/View/AbstractView.php
} else {
$return = $this->scopeItems;
}
$return['view'] = $this;
$return['controller'] = $this->controller;
return $return;
}
public function render($state = false)
{
if ($this instanceof View) {
$this->setRequestInstance($this);
}
$this->start($state);
$this->setupRender();
$this->startRender();
$scopeItems = $this->getScopeItems();
$contents = $this->renderViewContents($scopeItems);
$contents = $this->postProcessViewContents($contents);
$response = $this->finishRender($contents);
if ($this instanceof View) {
$this->revertRequestInstance();
}
return $response;
}
public function renderViewContents($scopeItems)
{
if (file_exists($this->template)) {
extract($scopeItems);
ob_start();
$this->onBeforeGetContents();
include $this->template;
$this->onAfterGetContents();
$contents = ob_get_contents();
ob_end_clean();
return $contents;
}
Arguments
/home/dh_34ns3q/v4development.com_latest/concrete/src/Area/Area.php
$loc = Localization::getInstance();
// now, we iterate through these block groups (which are actually arrays of block objects), and display them on the page
$loc->pushActiveContext(Localization::CONTEXT_UI);
if ($this->showControls && $c->isEditMode() && $ap->canViewAreaControls()) {
View::element('block_area_header', array('a' => $this));
} else {
View::element('block_area_header_view', array('a' => $this));
}
$loc->popActiveContext();
foreach ($blocksToDisplay as $b) {
$bv = new BlockView($b);
$bv->setAreaObject($this);
$p = new Permissions($b);
if ($p->canViewBlock()) {
if (!$c->isEditMode()) {
echo $this->enclosingStart;
}
$bv->render('view');
if (!$c->isEditMode()) {
echo $this->enclosingEnd;
}
}
}
$loc->pushActiveContext(Localization::CONTEXT_UI);
if ($this->showControls && $c->isEditMode() && $ap->canViewAreaControls()) {
View::element('block_area_footer', array('a' => $this));
} else {
View::element('block_area_footer_view', array('a' => $this));
}
$loc->popActiveContext();
}
/**
* Exports the area to content format.
*
* @param \SimpleXMLElement $p
* @param Page $page
Arguments
/home/dh_34ns3q/v4development.com_latest/concrete/src/Area/GlobalArea.php
if (is_object($stack)) {
$blocksTmp = $stack->getBlocks(STACKS_AREA_NAME);
$globalArea = self::get($stack, STACKS_AREA_NAME);
}
$blocks = [];
foreach ($blocksTmp as $ab) {
$ab->setBlockAreaObject($globalArea);
$ab->setBlockActionCollectionID($stack->getCollectionID());
$blocks[] = $ab;
}
unset($blocksTmp);
return $blocks;
}
public function display($c = false, $fake = null)
{
parent::display($c, null);
}
/**
* Note that this function does not delete the global area's stack.
* You probably want to call the "delete" method of the Stack model instead.
*
* @param string $arHandle
*/
public static function deleteByName($arHandle)
{
$db = Loader::db();
$db->Execute('select cID from Areas where arHandle = ? and arIsGlobal = 1', [$arHandle]);
$db->Execute('delete from Areas where arHandle = ? and arIsGlobal = 1', [$arHandle]);
}
/**
* Searches for global areas without any blocks in it and deletes them.
* This will have a positive impact on the performance as every global area is rendered for every page.
*/
public static function deleteEmptyAreas()
Arguments
Concrete\Core\Page\Page {#1662}
null
/home/dh_34ns3q/v4development.com_latest/packages/modena/themes/modena/elements/header.php
<?php
$a = new GlobalArea('Language Switcher');
$a->display();
?>
</div>
<?php if ($disableSearch == true ) : ?>
<div class="primary-header--search float-right">
<!--<div class="primary-header--search-inner">
<i class="ion-ios-search-strong"></i>
</div>-->
</div>
<?php endif;?>
<button class="mobile-nav-toggle float-right">
<span></span>
</button>
<nav class="desktop-nav float-right">
<?php
$a = new GlobalArea('Header Navigation');
$a->setCustomTemplate("autonav", "main-nav");
$a->display();
?>
</nav>
<span class="border-bottom"></span>
</div>
</div>
</div>
<div class="primary-header--search-dropdown">
<div class="grid-container">
<div class="grid-row">
<div class="column-6 push-column-6">
<div class="column-background">
<?php
$a = new GlobalArea('Search');
$a->display($c);
?>
</div>
</div>
</div>
</div>
/home/dh_34ns3q/v4development.com_latest/concrete/src/View/View.php
$path = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->themePkgHandle);
if (!file_exists($path)) {
$path2 = $env->getPath(DIRNAME_THEMES.'/'.$this->themeHandle.'/'.$file, $this->viewPkgHandle);
if (file_exists($path2)) {
$path = $path2;
}
unset($path2);
}
$__data__['path'] = $path;
unset($file);
unset($args);
unset($env);
unset($path);
if (!empty($__data__['scopedItems'])) {
if (array_key_exists('__data__', $__data__['scopedItems'])) {
throw new \Exception(t(/*i18n: %1$s is a variable name, %2$s is a function name*/'Illegal variable name \'%1$s\' in %2$s args.', '__data__', __CLASS__.'::'.__METHOD__));
}
extract($__data__['scopedItems']);
}
include $__data__['path'];
}
/**
* A shortcut to posting back to the current page with a task and optional parameters. Only works in the context of.
*
* @param string $action
* @param string $task
*
* @return string $url
*/
public function action($action)
{
$a = func_get_args();
$controllerPath = $this->controller->getControllerActionPath();
array_unshift($a, $controllerPath);
$ret = call_user_func_array([$this, 'url'], $a);
return $ret;
}
Arguments
"/home/dh_34ns3q/v4development.com_latest/packages/modena/themes/modena/elements/header.php"
/home/dh_34ns3q/v4development.com_latest/packages/modena/themes/modena/home.php
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php $this->inc('elements/header.php'); ?>
<section>
<?php
$a = new Area('Hero Unit');
if($a->getTotalBlocksInArea($c) == 0 && $c->isEditMode()) : ?>
<div class="hero-unit--empty">
<div class="hero-unit--empty-inner">
<?php $a->display($c); ?>
</div>
</div>
<?php else: ?>
<?php $a->display($c); ?>
<?php endif; ?>
</section>
<section>
<?php
$a = new Area('Main');
$a->setAreaGridMaximumColumns(12);
$a->enableGridContainer();
$a->display($c);
?>
</section>
<?php if ($c->getAttribute('disable_sub_page_footer_margin') == false) : ?>
<div class="padding-top-100"></div>
<?php endif; ?>
<?php $this->inc('elements/footer.php'); ?>
Arguments
/home/dh_34ns3q/v4development.com_latest/concrete/src/View/View.php
ob_end_clean();
return $innerContent;
}
/**
* Render the file set to $this->template
* @param $scopeItems
* @return string
*/
protected function renderTemplate($scopeItems, $innerContent)
{
// Extract the items into the current scope
extract($scopeItems);
ob_start();
// Fire a `before` event
$this->onBeforeGetContents();
include $this->template;
// Fire an `after` event
$this->onAfterGetContents();
$contents = ob_get_contents();
ob_end_clean();
return $contents;
}
public function finishRender($contents)
{
$event = new \Symfony\Component\EventDispatcher\GenericEvent();
$event->setArgument('view', $this);
Events::dispatch('on_render_complete', $event);
return $contents;
}
/**
* Function responsible for outputting header items.
Arguments
"/home/dh_34ns3q/v4development.com_latest/packages/modena/themes/modena/home.php"
/home/dh_34ns3q/v4development.com_latest/concrete/src/View/View.php
protected function onBeforeGetContents()
{
$this->themeObject->registerAssets();
$event = new \Symfony\Component\EventDispatcher\GenericEvent();
$event->setArgument('view', $this);
Events::dispatch('on_before_render', $event);
}
public function renderViewContents($scopeItems)
{
$contents = '';
// Render the main view file
if ($this->innerContentFile) {
$contents = $this->renderInnerContents($scopeItems);
}
// Render the template around it
if (file_exists($this->template)) {
$contents = $this->renderTemplate($scopeItems, $contents);
}
return $contents;
}
/**
* Render the file set to $this->innerContentFile
* @param $scopeItems
* @return string
*/
protected function renderInnerContents($scopeItems)
{
// Extract the items into the current scope
extract($scopeItems);
ob_start();
include $this->innerContentFile;
$innerContent = ob_get_contents();
ob_end_clean();
Arguments
array:5 [
"html" => Concrete\Core\Html\Service\Html {#1738}
"view" => Concrete\Core\Page\View\PageView {#1719}
"controller" => Concrete\Core\Page\Controller\PageController {#1718}
"c" => Concrete\Core\Page\Page {#1662}
"theme" => Concrete\Package\Modena\Theme\Modena\PageTheme {#2928}
]
""
/home/dh_34ns3q/v4development.com_latest/concrete/src/View/AbstractView.php
$helpers = $this->controller->getHelperObjects();
$return = array_merge($this->scopeItems, $sets, $helpers);
} else {
$return = $this->scopeItems;
}
$return['view'] = $this;
$return['controller'] = $this->controller;
return $return;
}
public function render($state = false)
{
if ($this instanceof View) {
$this->setRequestInstance($this);
}
$this->start($state);
$this->setupRender();
$this->startRender();
$scopeItems = $this->getScopeItems();
$contents = $this->renderViewContents($scopeItems);
$contents = $this->postProcessViewContents($contents);
$response = $this->finishRender($contents);
if ($this instanceof View) {
$this->revertRequestInstance();
}
return $response;
}
public function renderViewContents($scopeItems)
{
if (file_exists($this->template)) {
extract($scopeItems);
ob_start();
$this->onBeforeGetContents();
include $this->template;
$this->onAfterGetContents();
$contents = ob_get_contents();
ob_end_clean();
Arguments
array:5 [
"html" => Concrete\Core\Html\Service\Html {#1738}
"view" => Concrete\Core\Page\View\PageView {#1719}
"controller" => Concrete\Core\Page\Controller\PageController {#1718}
"c" => Concrete\Core\Page\Page {#1662}
"theme" => Concrete\Package\Modena\Theme\Modena\PageTheme {#2928}
]
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/ResponseFactory.php
$cnt = $this->app->make(PageForbidden::class);
$this->controller($cnt, $code, $headers);
}
/**
* {@inheritdoc}
*/
public function redirect($to, $code = Response::HTTP_MOVED_PERMANENTLY, $headers = [])
{
return new RedirectResponse($to, $code, $headers);
}
/**
* {@inheritdoc}
*/
public function view(View $view, $code = Response::HTTP_OK, $headers = [])
{
$this->localization->pushActiveContext(Localization::CONTEXT_SITE);
try {
$contents = $view->render();
return $this->create($contents, $code, $headers);
} finally {
$this->localization->popActiveContext();
}
}
/**
* {@inheritdoc}
*/
public function controller(Controller $controller, $code = Response::HTTP_OK, $headers = [])
{
$dl = $this->app->make('multilingual/detector');
$c = Page::getCurrentPage();
// if the page exists and is not in error
if ($c && !$c->isError()) {
$dl->setupSiteInterfaceLocalization($c);
}
$this->localization->pushActiveContext(Localization::CONTEXT_SITE);
try {
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/ResponseFactory.php
if ($response = $controller->runAction('view')) {
return $response;
}
}
$view = $controller->getViewObject();
// Mobile theme
if ($this->config->get('concrete.misc.mobile_theme_id') > 0) {
$md = $this->app->make(MobileDetect::class);
if ($md->isMobile()) {
$mobileTheme = Theme::getByID($this->app->config->get('concrete.misc.mobile_theme_id'));
if ($mobileTheme instanceof Theme) {
$view->setViewTheme($mobileTheme);
$controller->setTheme($mobileTheme);
}
}
}
return $this->view($view, $code, $headers);
} finally {
$this->localization->popActiveContext();
}
}
/**
* {@inheritdoc}
*/
public function collection(Collection $collection, $code = Response::HTTP_OK, $headers = [])
{
if (!$this->app) {
throw new \RuntimeException('Cannot resolve collections without a reference to the application');
}
$dl = $this->app->make('multilingual/detector');
$request = $this->request;
if ($collection->isError() && $collection->getError() == COLLECTION_NOT_FOUND) {
if ($response = $this->collectionNotFound($collection, $request, $headers)) {
return $response;
Arguments
Concrete\Core\Page\View\PageView {#1719}
200
[]
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/ResponseFactory.php
$this->app['director']->dispatch('on_page_view', $pe);
// Core menu items
$item = new RelationListItem();
$menu = $this->app->make('helper/concrete/ui/menu');
$menu->addMenuItem($item);
// Running processes item
$item = new RunningProcessesItem();
$menu->addMenuItem($item);
// Multisite item
$item = new SiteListItem();
$menu->addMenuItem($item);
$controller = $collection->getPageController();
// we update the current page with the one bound to this controller.
$collection->setController($controller);
return $this->controller($controller);
}
private function collectionNotFound(Collection $collection, Request $request, array $headers)
{
// if we don't have a path and we're doing cID, then this automatically fires a 404.
if (!$request->getPath() && $request->get('cID')) {
return $this->notFound('', Response::HTTP_NOT_FOUND, $headers);
}
// let's test to see if this is, in fact, the home page,
// and we're routing arguments onto it (which is screwing up the path.)
$home = Page::getByID(Page::getHomePageID());
$request->setCurrentPage($home);
$homeController = $home->getPageController();
$homeController->setupRequestActionAndParameters($request);
$response = $homeController->validateRequest();
if ($response instanceof \Symfony\Component\HttpFoundation\Response) {
return $response;
} elseif ($response === true) {
Arguments
Concrete\Core\Page\Controller\PageController {#1718}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/DefaultDispatcher.php
new DispatcherDelegate($dispatcher)
);
$stack->setApplication($this->app);
foreach($route->getMiddlewares() as $middleware) {
if (is_string($middleware->getMiddleware())) {
$inflatedMiddleware = $this->app->make($middleware->getMiddleware());
} else {
$inflatedMiddleware = $middleware->getMiddleware();
}
$stack = $stack->withMiddleware(
$inflatedMiddleware,
$middleware->getPriority()
);
}
return $stack->process($request);
} catch (ResourceNotFoundException $e) {
} catch (MethodNotAllowedException $e) {
}
$c = \Page::getFromRequest($request);
$response = $this->app->make(ResponseFactoryInterface::class)->collection($c);
return $response;
}
/**
* @param \Symfony\Component\Routing\RouteCollection $routes
* @param string $path
*
* @return \Symfony\Component\Routing\RouteCollection
*/
private function filterRouteCollectionForPath(RouteCollection $routes, $path)
{
$result = new RouteCollection();
foreach ($routes->getResources() as $resource) {
$result->addResource($resource);
}
foreach ($routes->all() as $name => $route) {
$routePath = $route->getPath();
$p = strpos($routePath, '{');
$skip = false;
Arguments
Concrete\Core\Page\Page {#1662}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/DefaultDispatcher.php
/**
* @param \Symfony\Component\HttpFoundation\Request $request
*
* @return SymfonyResponse
*/
public function dispatch(SymfonyRequest $request)
{
$path = rawurldecode($request->getPathInfo());
if (substr($path, 0, 3) == '../' || substr($path, -3) == '/..' || strpos($path, '/../') ||
substr($path, 0, 3) == '..\\' || substr($path, -3) == '\\..' || strpos($path, '\\..\\')) {
throw new UserMessageException(t('Invalid path traversal. Please make this request with a valid HTTP client.'));
}
$response = null;
if ($this->app->isInstalled()) {
$response = $this->getEarlyDispatchResponse();
}
if ($response === null) {
$response = $this->handleDispatch($request);
}
return $response;
}
private function getEarlyDispatchResponse()
{
$validator = $this->app->make(SessionValidator::class);
if ($validator->hasActiveSession()) {
$session = $this->app['session'];
if (!$session->has('uID')) {
User::verifyAuthTypeCookie();
}
// User may have been logged in, so lets check status again.
if ($session->has('uID') && $session->get('uID') > 0 && $response = $this->validateUser()) {
return $response;
}
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/DispatcherDelegate.php
private $dispatcher;
/**
* DispatcherFrame constructor.
* @param \Concrete\Core\Http\DispatcherInterface $dispatcher
*/
public function __construct(DispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
return $this->dispatcher->dispatch($request);
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/FrameOptionsMiddleware.php
private $config;
/**
* @var \Concrete\Core\Utility\Service\Validation\Strings
*/
private $stringValidator;
public function __construct(Repository $config, Strings $stringValidator)
{
$this->config = $config;
$this->stringValidator = $stringValidator;
}
/**
* @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
* @return Response
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
if ($response->headers->has('X-Frame-Options') === false) {
$x_frame_options = $this->config->get('concrete.security.misc.x_frame_options');
if ($this->stringValidator->notempty($x_frame_options)) {
$response->headers->set('X-Frame-Options', $x_frame_options);
}
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\DispatcherDelegate {#1616}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/StrictTransportSecurityMiddleware.php
/**
* @var Strings
*/
private $stringValidator;
public function __construct(Repository $config, Strings $stringValidator)
{
$this->config = $config;
$this->stringValidator = $stringValidator;
}
/**
* @param Request $request
* @param DelegateInterface $frame
*
* @return Response
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
if ($response->headers->has('Strict-Transport-Security') === false) {
$x_frame_options = $this->config->get('concrete.security.misc.strict_transport_security');
if ($this->stringValidator->notempty($x_frame_options)) {
$response->headers->set('Strict-Transport-Security', $x_frame_options);
}
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1623}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/ContentSecurityPolicyMiddleware.php
/**
* @var Strings
*/
private $stringValidator;
public function __construct(Repository $config, Strings $stringValidator)
{
$this->config = $config;
$this->stringValidator = $stringValidator;
}
/**
* @param Request $request
* @param DelegateInterface $frame
*
* @return Response
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
if ($response->headers->has('Content-Security-Policy') === false) {
$csp = $this->config->get('concrete.security.misc.content_security_policy');
if ((is_array($csp) && count($csp) > 0) || $this->stringValidator->notempty($csp)) {
$response->headers->set('Content-Security-Policy', $csp);
}
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1625}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/CookieMiddleware.php
* @var \Concrete\Core\Cookie\ResponseCookieJar
*/
private $responseCookieJar;
/**
* @param \Concrete\Core\Cookie\ResponseCookieJar $responseCookieJar
*/
public function __construct(ResponseCookieJar $responseCookieJar)
{
$this->responseCookieJar = $responseCookieJar;
}
/**
* {@inheritdoc}
*
* @see \Concrete\Core\Http\Middleware\MiddlewareInterface::process()
*/
public function process(Request $request, DelegateInterface $frame)
{
$response = $frame->next($request);
$cleared = $this->responseCookieJar->getClearedCookies();
foreach ($cleared as $cookie) {
$response->headers->clearCookie($cookie, DIR_REL . '/');
}
$cookies = $this->responseCookieJar->getCookies();
foreach ($cookies as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1627}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/ApplicationMiddleware.php
* Middleware for applying state changes to the application
* @package Concrete\Core\Http\Middleware
*/
class ApplicationMiddleware implements MiddlewareInterface, ApplicationAwareInterface
{
use ApplicationAwareTrait;
/**
* Apply the request instance to the request singleton
* @param \Symfony\Component\HttpFoundation\Request $request
* @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
* @return \Symfony\Component\HttpFoundation\Response
*/
public function process(Request $request, DelegateInterface $frame)
{
\Concrete\Core\Http\Request::setInstance($request);
$this->app->instance('Concrete\Core\Http\Request', $request);
return $frame->next($request);
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/MiddlewareDelegate.php
public function __construct(
MiddlewareInterface $middleware,
DelegateInterface $nextDelegate,
HttpFoundationFactory $foundationFactory
) {
$this->middleware = $middleware;
$this->nextDelegate = $nextDelegate;
$this->foundationFactory = $foundationFactory;
}
/**
* Dispatch the next available middleware and return the response.
*
* @param Request $request
* @return Response
*/
public function next(Request $request)
{
$response = $this->middleware->process($request, $this->nextDelegate);
// Negotiate PSR7 responses
if ($response instanceof ResponseInterface) {
return $this->foundationFactory->createResponse($response);
}
return $response;
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
Concrete\Core\Http\Middleware\MiddlewareDelegate {#1629}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/Middleware/MiddlewareStack.php
public function withoutMiddleware(MiddlewareInterface $middleware)
{
$stack = clone $this;
$stack->middleware = array_map(function($priorityGroup) use ($middleware) {
return array_map(function($stackMiddleware) use ($middleware) {
return $middleware === $stackMiddleware ? null : $stackMiddleware;
}, $priorityGroup);
}, $stack->middleware);
return $stack;
}
/**
* @inheritdoc
*/
public function process(Request $request)
{
$stack = $this->getStack();
return $stack->next($request);
}
/**
* Reduce middleware into a stack of functions that each call the next
* @return callable
*/
private function getStack()
{
$processed = [];
foreach ($this->middlewareGenerator() as $middleware) {
$processed[] = $middleware;
}
$middleware = array_reverse($processed);
$stack = array_reduce($middleware, $this->getZipper(), $this->dispatcher);
return $stack;
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Http/DefaultServer.php
*/
public function removeMiddleware(MiddlewareInterface $middleware)
{
$this->stack = $this->stack->withoutMiddleware($middleware);
return $this;
}
/**
* Take a request and pass it through middleware, then return the response
* @param SymfonyRequest $request
* @return SymfonyResponse
*/
public function handleRequest(SymfonyRequest $request)
{
$stack = $this->stack;
if ($stack instanceof MiddlewareStack) {
$stack = $stack->withDispatcher($this->app->make(DispatcherDelegate::class, ['dispatcher' => $this->dispatcher]));
}
return $stack->process($request);
}
}
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Foundation/Runtime/Run/DefaultRunner.php
// Handle loading permission keys
'handlePermissionKeys',
// Handle eventing
'handleEventing',
]);
} else {
$this->initializeSystemTimezone();
$this->preloadClassAliases();
}
// Create the request to use
$request = $this->createRequest();
if (!$response) {
if ($this->shouldProcessRequest($request) === false) {
return null;
}
$response = $this->server->handleRequest($request);
}
// Prepare and return the response
return $response->prepare($request);
}
/**
* Define the base url if not defined
* This will define `BASE_URL` to whatever is resolved from the resolver.
*
* @deprecated In a future major version this will be part of HTTP middleware
*
* @return Response|void Returns a response if an error occurs
*/
protected function initializeLegacyURLDefinitions()
{
if (!defined('BASE_URL')) {
$resolver = $this->getUrlResolver();
try {
Arguments
Concrete\Core\Http\Request {#1453
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#1608}
+request: Symfony\Component\HttpFoundation\InputBag {#1272}
+query: Symfony\Component\HttpFoundation\InputBag {#1454}
+server: Symfony\Component\HttpFoundation\ServerBag {#1611}
+files: Symfony\Component\HttpFoundation\FileBag {#1610}
+cookies: Symfony\Component\HttpFoundation\InputBag {#1609}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#1612}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/"
#requestUri: "/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#hasCustomRequestUser: null
#customRequestUser: null
#customRequestDateTime: null
#c: Concrete\Core\Page\Page {#1662}
basePath: ""
format: "html"
}
/home/dh_34ns3q/v4development.com_latest/concrete/src/Foundation/Runtime/DefaultRuntime.php
$this->status = self::STATUS_ACTIVE;
}
}
/**
* Begin the runtime.
*/
public function run()
{
switch ($this->status) {
case self::STATUS_ENDED:
// We've already ended, lets just return
return;
case self::STATUS_INACTIVE:
throw new \RuntimeException('Runtime has not yet booted.');
}
$runner = $this->getRunner();
$response = $runner->run();
if ($response) {
$this->sendResponse($response);
}
return $response;
}
/**
* The method that handles properly sending a response.
*
* @param \Symfony\Component\HttpFoundation\Response $response
*/
protected function sendResponse(Response $response)
{
$response->send();
// Set the status to ended
$this->status = self::STATUS_ENDED;
}
/home/dh_34ns3q/v4development.com_latest/concrete/dispatcher.php
* Include all autoloaders.
* ----------------------------------------------------------------------------
*/
require __DIR__ . '/bootstrap/autoload.php';
/*
* ----------------------------------------------------------------------------
* Begin Concrete startup.
* ----------------------------------------------------------------------------
*/
$app = require __DIR__ . '/bootstrap/start.php';
/** @var \Concrete\Core\Application\Application $app */
/*
* ----------------------------------------------------------------------------
* Run the runtime.
* ----------------------------------------------------------------------------
*/
$runtime = $app->getRuntime();
if ($response = $runtime->run()) {
/*
* ------------------------------------------------------------------------
* Shut it down.
* ------------------------------------------------------------------------
*/
$app->shutdown();
} else {
return $app;
}
/home/dh_34ns3q/v4development.com_latest/index.php
<?php
require 'concrete/dispatcher.php';
Arguments
"/home/dh_34ns3q/v4development.com_latest/concrete/dispatcher.php"