case '1095': case '1142': case '1143': case '1227': case '1370': case '2002': case '2005': return new Exception\ConnectionException($message, $exception); case '1048': case '1121': case '1138': case '1171': case '1252': case '1263': case '1566': return new Exception\NotNullConstraintViolationException($message, $exception); } return new Exception\DriverException($message, $exception); } /** * {@inheritdoc} */ public function createDatabasePlatformForVersion($version) { if ( ! preg_match('/^(?P<major>\d+)(?:\.(?P<minor>\d+)(?:\.(?P<patch>\d+))?)?/', $version, $versionParts)) { throw DBALException::invalidPlatformVersionSpecified( $version, '<major_version>.<minor_version>.<patch_version>' ); } if (false !== stripos($version, 'mariadb')) { return $this->getDatabasePlatform(); } $majorVersion = $versionParts['major']; $minorVersion = isset($versionParts['minor']) ? $versionParts['minor'] : 0;
} /** * @param \Doctrine\DBAL\Driver $driver * @param \Exception $driverEx * @param string $sql * @param array $params * * @return \Doctrine\DBAL\DBALException */ public static function driverExceptionDuringQuery(Driver $driver, \Exception $driverEx, $sql, array $params = array()) { $msg = "An exception occurred while executing '".$sql."'"; if ($params) { $msg .= " with params " . self::formatParameters($params); } $msg .= ":\n\n".$driverEx->getMessage(); if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) { return $driver->convertException($msg, $driverEx); } return new self($msg, 0, $driverEx); } /** * @param \Doctrine\DBAL\Driver $driver * @param \Exception $driverEx * * @return \Doctrine\DBAL\DBALException */ public static function driverException(Driver $driver, \Exception $driverEx) { $msg = "An exception occured in driver: " . $driverEx->getMessage(); if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) { return $driver->convertException($msg, $driverEx); } return new self($msg, 0, $driverEx);
if ($logger) { $logger->startQuery($query, $params, $types); } try { if ($params) { list($query, $params, $types) = SQLParserUtils::expandListParameters($query, $params, $types); $stmt = $this->_conn->prepare($query); if ($types) { $this->_bindTypedValues($stmt, $params, $types); $stmt->execute(); } else { $stmt->execute($params); } } else { $stmt = $this->_conn->query($query); } } catch (\Exception $ex) { throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types)); } $stmt->setFetchMode($this->defaultFetchMode); if ($logger) { $logger->stopQuery(); } return $stmt; } /** * Executes a caching query. * * @param string $query The SQL query to execute. * @param array $params The parameters to bind to the query, if any. * @param array $types The types the previous parameters are in. * @param \Doctrine\DBAL\Cache\QueryCacheProfile $qcp The query cache profile. * * @return \Doctrine\DBAL\Driver\ResultStatement
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} */ public function execute($params = null) { try { return parent::execute($params); } catch (\PDOException $exception) { throw new PDOException($exception); } } /** * {@inheritdoc} */ public function fetch($fetchMode = null, $cursorOrientation = null, $cursorOffset = null) { try { if ($fetchMode === null && $cursorOrientation === null && $cursorOffset === null) { return parent::fetch(); } if ($cursorOrientation === null && $cursorOffset === null) { return parent::fetch($fetchMode); } if ($cursorOffset === null) { return parent::fetch($fetchMode, $cursorOrientation); }
* {@inheritdoc} */ 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} */ public function execute($params = null) { try { return parent::execute($params); } catch (\PDOException $exception) { throw new PDOException($exception); } } /** * {@inheritdoc} */ public function fetch($fetchMode = null, $cursorOrientation = null, $cursorOffset = null) { try { if ($fetchMode === null && $cursorOrientation === null && $cursorOffset === null) { return parent::fetch(); } if ($cursorOrientation === null && $cursorOffset === null) { return parent::fetch($fetchMode); } if ($cursorOffset === null) {
* {@inheritdoc} */ 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} */ public function execute($params = null) { try { return parent::execute($params); } catch (\PDOException $exception) { throw new PDOException($exception); } } /** * {@inheritdoc} */ public function fetch($fetchMode = null, $cursorOrientation = null, $cursorOffset = null) { try { if ($fetchMode === null && $cursorOrientation === null && $cursorOffset === null) { return parent::fetch(); } if ($cursorOrientation === null && $cursorOffset === null) { return parent::fetch($fetchMode); } if ($cursorOffset === null) {
return $this->executeCacheQuery($query, $params, $types, $qcp); } $this->connect(); $logger = $this->_config->getSQLLogger(); if ($logger) { $logger->startQuery($query, $params, $types); } try { if ($params) { list($query, $params, $types) = SQLParserUtils::expandListParameters($query, $params, $types); $stmt = $this->_conn->prepare($query); if ($types) { $this->_bindTypedValues($stmt, $params, $types); $stmt->execute(); } else { $stmt->execute($params); } } else { $stmt = $this->_conn->query($query); } } catch (\Exception $ex) { throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types)); } $stmt->setFetchMode($this->defaultFetchMode); if ($logger) { $logger->stopQuery(); } return $stmt; } /** * Executes a caching query. *
*/ public function fetchArray($statement, array $params = array(), array $types = array()) { return $this->executeQuery($statement, $params, $types)->fetch(PDO::FETCH_NUM); } /** * Prepares and executes an SQL query and returns the value of a single column * of the first row of the result. * * @param string $statement The SQL query to be executed. * @param array $params The prepared statement params. * @param integer $column The 0-indexed column number to retrieve. * @param array $types The query parameter types. * * @return mixed */ public function fetchColumn($statement, array $params = array(), $column = 0, array $types = array()) { return $this->executeQuery($statement, $params, $types)->fetchColumn($column); } /** * Whether an actual connection to the database is established. * * @return boolean */ public function isConnected() { return $this->_isConnected; } /** * Checks whether a transaction is currently active. * * @return boolean TRUE if a transaction is currently active, FALSE otherwise. */ public function isTransactionActive() { return $this->_transactionNestingLevel > 0;
*/ public function qstr($string) { return $this->quote($string); } /** * @deprecated * alias to old ADODB method * * @param mixed $q * @param mixed $arguments */ public function GetOne($q, $arguments = []) { if (!is_array($arguments)) { $arguments = [$arguments]; // adodb backward compatibility } return $this->fetchColumn($q, $arguments, 0); } /** * @deprecated * alias to old ADODB method */ public function ErrorMsg() { if ($this->errorCode() > 0) { return $this->errorCode(); } return false; } /** * @deprecated * alias to old ADODB method * * @param mixed $q
$ax = Area::get($stack, STACKS_AREA_NAME); if (is_object($ax)) { return $ax->getTotalBlocksInArea(); } return 0; } /** * @return int */ public function getTotalBlocksInAreaEditMode() { $stack = $this->getGlobalAreaStackObject(); $ax = Area::get($stack, STACKS_AREA_NAME); $db = Loader::db(); return (int) $db->GetOne('select count(b.bID) from CollectionVersionBlocks cvb inner join Blocks b on cvb.bID = b.bID inner join BlockTypes bt on b.btID = bt.btID where cID = ? and cvID = ? and arHandle = ?', [$stack->getCollectionID(), $stack->getVersionID(), $ax->getAreaHandle()] ); } /** * @return \Block[] */ public function getAreaBlocks() { $cp = new Permissions($this->c); $contentSource = Stack::MULTILINGUAL_CONTENT_SOURCE_CURRENT; if ($this->ignoreCurrentMultilingualLanguageSection) { $contentSource = Stack::MULTILINGUAL_CONTENT_SOURCE_DEFAULT; } if ($cp->canViewPageVersions()) { $stack = Stack::getByName($this->arHandle, 'RECENT', null, $contentSource); } else { $stack = Stack::getByName($this->arHandle, 'ACTIVE', null, $contentSource); } $blocksTmp = []; if (is_object($stack)) {
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <link rel="stylesheet" href="<?php echo URL::to("/ThemeSupermint/tools/override") . '?cID=' . $c->cID ?>" id="css-override" type="text/css" /> <link rel="stylesheet" href="<?php echo Concrete\Package\ThemeSupermint\Controller\Tools\FontsTools::getFontsURL() ?>" id="css-fonts" type="text/css" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <?php if($o->responsive) : ?> <meta name="viewport" content="width=device-width, initial-scale=1" /> <?php endif ?> <?php if (is_file(DIR_APPLICATION . '/' . DIRNAME_THEMES . '/supermint/' . DIRNAME_CSS . '/supermint.css')) :?> <link rel="stylesheet" href="<?php echo DIR_REL . '/' . DIRNAME_APPLICATION . '/' . DIRNAME_THEMES . '/supermint/' . DIRNAME_CSS . '/supermint.css'?>" type="text/css" media="screen" /> <?php endif ?> <!-- Theme Supermint V<?php echo Package::getByHandle('theme_supermint')->getPackageVersion() ?> // Theme preset ID : <?php echo $o->pID ?> --> </head> <body id="supermint" class="supermint <?php if ($c->isEditMode()) : ?>edit-mode<?php endif ?>" <?php if ($c->isEditMode()) : ?>style="margin:0 !important;"<?php endif ?>> <!-- Responsive Nav --> <?php $responsiveNav = new GlobalArea('Responsive Navigation'); $responsiveNav->load($c); $display_responsiveNav = $responsiveNav->getTotalBlocksInAreaEditMode () > 0 || $responsiveNav->getTotalBlocksInArea() > 0 || $c->isEditMode() ; ?> <?php if ($display_responsiveNav): ?> <div class="<?php echo $o->auto_hidde_top_bar ? 'auto-hidde-top-bar' : ''?> small-display-nav-bar inherit-ccm-page"> <?php $responsiveNav->display()?> </div> <?php endif; ?> <!-- End Responsive Nav --> <div class="<?php echo $c->getPageWrapperClass()?> <?php echo $c->getAttribute('layout_mode') != 'default' && $c->getAttribute('layout_mode') ? $c->getAttribute('layout_mode') : $o->layout_mode ?>">
$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; }
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $o = \Concrete\Package\ThemeSupermint\Src\Models\ThemeSupermintOptions::get(); $this->inc('elements/head.php'); ?> <?php $this->inc('elements/top_bar.php'); ?> <nav id="header-nav"> <!-- disable_embed_nav : <?php var_export($o->disable_embed_nav) ?> --> <?php if (!$o->disable_embed_nav) : ?> <!-- Navigation type : <?php echo $c->getAttribute('supermint_navigation_type') ?> --> <?php $bt_main = BlockType::getByHandle('autonav'); $bt_main->controller->displayPages = 'top'; $bt_main->controller->orderBy = 'display_asc'; $bt_main->controller->displaySubPages = 'all'; $bt_main->controller->displaySubPageLevels = 'all'; if ($o->navigation_style == 'slide') $bt_main->render('templates/supermint'); elseif ($o->navigation_style == 'lateral-regular') $bt_main->render('templates/supermint_lateral'); else $bt_main->render('templates/supermint_dropdown'); else :?> <nav id="header-nav"> <?php $ga = new GlobalArea('Header Nav'); $ga->display(); ?> </nav><!-- #top_nav --> <?php endif ?> </nav> <!-- #top -->
$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; }
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $c = Page::getCurrentPage(); // Les options $o = \Concrete\Package\ThemeSupermint\Src\Models\ThemeSupermintOptions::get(); $this->inc('elements/navigation.php'); $header = new Area('Header'); $header->load($c); $display_header = $header->getTotalBlocksInAreaEditMode () > 0 || $header->getTotalBlocksInArea() > 0 || $c->isEditMode() ; ?> <header id="header"> <?php $a = new Area("Header Image"); $a->display($c); ?> <?php if ($display_header) : ?> <div id="sub-header"> <?php $header->enableGridContainer(); $header->display($c); ?> </div> <?php endif ?> </header>
$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; }
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $o = \Concrete\Package\ThemeSupermint\Src\Models\ThemeSupermintOptions::get(); $span_sidebar = 'col-md-' . $o->sidebar_size; $span_main = 'col-md-' . ( 12 - $o->sidebar_size - $o->sidebar_offset ) ; $sidebar_offset = $o->sidebar_offset ? ('col-md-offset-' . $o->sidebar_offset) : ''; $this->inc('elements/header.php'); //$this->inc('elements/intro.php'); $a = new Area('sps blank'); $a->display($c); ?> <main class="container main-container"> <div class="row"> <div class="<?php echo $span_main ?>"> <div class="page-content-style padding-<?php echo $o->content_padding ?>"> <?php $this->inc('elements/ribbon.php') ?> <?php $this->inc('elements/multiple_area.php',array('c'=>$c,'area_name'=>'Main','AreaGridMaximumColumns' => 12, 'attribute_handle'=>'number_of_main_areas')); ?> </div> </div> <div class="<?php echo $span_sidebar ?> <?php echo $sidebar_offset ?> sidebar" id="rigth-sidebar"> <div class="sb-head"> <?php $a = new Area('Sidebar Header'); $a->display($c); ?> </div> <div class="sb-header padding-<?php echo $o->sidebar_padding?>"> <?php $a = new Area('Sidebar'); $a->display($c); ?> </div> <div class="sb-footer"> <?php $a = new Area('Sidebar Footer'); $a->display($c); ?>
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.
protected function onBeforeGetContents() { $event = new \Symfony\Component\EventDispatcher\GenericEvent(); $event->setArgument('view', $this); Events::dispatch('on_before_render', $event); $this->themeObject->registerAssets(); } 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();
$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();
$cnt = $this->app->make(PageForbidden::class); $this->controller($cnt, $code, $headers); } /** * {@inheritdoc} */ public function redirect($to, $code = Response::HTTP_MOVED_PERMANENTLY, $headers = []) { return RedirectResponse::create($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 = []) { $this->localization->pushActiveContext(Localization::CONTEXT_SITE); try { $request = $this->request; if ($response = $controller->on_start()) { return $response; }
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'); } $request = $this->request; if ($collection->isError() && $collection->getError() == COLLECTION_NOT_FOUND) { if ($response = $this->collectionNotFound($collection, $request, $headers)) { return $response; }
require DIR_BASE_CORE . '/bootstrap/process.php'; $u = $this->app->make(User::class); // On page view event. $pe = new Event($collection); $pe->setUser($u); $pe->setRequest($request); $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); $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) {
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) { $callDispatcher = true; } catch (MethodNotAllowedException $e) { $callDispatcher = true; } if ($callDispatcher) { $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, '{');
/** * @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 \RuntimeException(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; } } }
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); } }
* @var \Concrete\Core\Config\Repository\Repository */ private $config; public function __construct(Repository $config) { $this->config = $config; } /** * Process the request and return a response. * * @param \Symfony\Component\HttpFoundation\Request $request * @param DelegateInterface $frame * * @return \Symfony\Component\HttpFoundation\Response */ public function process(Request $request, DelegateInterface $frame) { $response = $frame->next($request); if ($response && $this->app->isInstalled() && $this->config->get('concrete.misc.basic_thumbnailer_generation_strategy') == 'now') { $responseStatusCode = (int) $response->getStatusCode(); if ($responseStatusCode === 200 || $responseStatusCode === 404) { $database = $this->tryGetConnection(); if ($database !== null) { if ($responseStatusCode === 404) { $searchThumbnailPath = $request->getRequestUri(); } else { $searchThumbnailPath = null; } $thumbnail = $this->getThumbnailToGenerate($database, $searchThumbnailPath); if ($thumbnail !== null) { $this->markThumbnailAsBuilt($database, $thumbnail); if ($this->generateThumbnail($thumbnail)) { if ($this->couldBeTheRequestedThumbnail($thumbnail, $searchThumbnailPath)) { $response = $this->buildRedirectToThumbnailResponse($request); } } }
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; } }
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; } }
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; } }
* @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; } }
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; } }
* 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); } }
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; } }
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; }
*/ 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, [$this->dispatcher])); } return $stack->process($request); } }
'registerLegacyRoutes', // Register legacy config values 'registerLegacyConfigValues', // Handle loading permission keys 'handlePermissionKeys', // Handle eventing 'handleEventing', ]); } else { $this->initializeSystemTimezone(); } // Create the request to use $request = $this->createRequest(); if (!$response) { $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 {
$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; }
* Include all autoloaders. * ---------------------------------------------------------------------------- */ require __DIR__ . '/bootstrap/autoload.php'; /* * ---------------------------------------------------------------------------- * Begin concrete5 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; }
<?php require 'concrete/dispatcher.php';
Key | Value |
Version | 8.5.0 |
Installed Version | 8.5.0 |
Key | Value |
concrete.version | 8.5.0 |
concrete.version_installed | 8.5.0 |
concrete.version_db | 20190301133300 |
concrete.installed | true |
concrete.locale | ja_JP |
concrete.charset | UTF-8 |
concrete.charset_bom | |
concrete.maintenance_mode | false |
concrete.debug.display_errors | true |
concrete.debug.detail | debug |
concrete.debug.error_reporting | null |
concrete.proxy.host | null |
concrete.proxy.port | null |
concrete.proxy.user | null |
concrete.proxy.password | null |
concrete.upload.extensions | *.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.xlsx;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.3gp;*.avi;*.m4v;*.mp4;*.mp3;*.qt;*.ppt;*.pptx;*.kml;*.xml;*.svg;*.webm;*.ogg;*.ogv |
concrete.upload.chunking.enabled | true |
concrete.upload.chunking.chunkSize | null |
concrete.export.csv.include_bom | false |
concrete.interface.panel.page_relations | false |
concrete.mail.method | PHP_MAIL |
concrete.mail.methods.smtp.server | |
concrete.mail.methods.smtp.port | |
concrete.mail.methods.smtp.username | |
concrete.mail.methods.smtp.password | |
concrete.mail.methods.smtp.encryption | |
concrete.mail.methods.smtp.messages_per_connection | null |
concrete.cache.enabled | true |
concrete.cache.lifetime | 21600 |
concrete.cache.overrides | true |
concrete.cache.blocks | true |
concrete.cache.assets | true |
concrete.cache.theme_css | true |
concrete.cache.pages | 0 |
concrete.cache.doctrine_dev_mode | false |
concrete.cache.full_page_lifetime | default |
concrete.cache.full_page_lifetime_value | null |
concrete.cache.full_contents_assets_hash | false |
concrete.cache.directory | /usr/home/aa218l3osv/html/application/files/cache |
concrete.cache.directory_relative | null |
concrete.cache.page.directory | /usr/home/aa218l3osv/html/application/files/cache/pages |
concrete.cache.page.adapter | file |
concrete.cache.levels.overrides.drivers.core_ephemeral.class | \Stash\Driver\Ephemeral |
concrete.cache.levels.overrides.drivers.core_filesystem.class | Concrete\Core\Cache\Driver\FileSystemStashDriver |
concrete.cache.levels.overrides.drivers.core_filesystem.options.path | /usr/home/aa218l3osv/html/application/files/cache/overrides |
concrete.cache.levels.overrides.drivers.core_filesystem.options.dirPermissions | 493 |
concrete.cache.levels.overrides.drivers.core_filesystem.options.filePermissions | 420 |
concrete.cache.levels.overrides.drivers.redis.class | Concrete\Core\Cache\Driver\RedisStashDriver |
concrete.cache.levels.overrides.drivers.redis.options.prefix | c5_overrides |
concrete.cache.levels.overrides.drivers.redis.options.database | 0 |
concrete.cache.levels.overrides.preferred_driver | core_filesystem |
concrete.cache.levels.expensive.drivers.core_ephemeral.class | \Stash\Driver\Ephemeral |
concrete.cache.levels.expensive.drivers.core_filesystem.class | Concrete\Core\Cache\Driver\FileSystemStashDriver |
concrete.cache.levels.expensive.drivers.core_filesystem.options.path | /usr/home/aa218l3osv/html/application/files/cache/expensive |
concrete.cache.levels.expensive.drivers.core_filesystem.options.dirPermissions | 493 |
concrete.cache.levels.expensive.drivers.core_filesystem.options.filePermissions | 420 |
concrete.cache.levels.expensive.drivers.redis.class | Concrete\Core\Cache\Driver\RedisStashDriver |
concrete.cache.levels.expensive.drivers.redis.options.prefix | c5_expensive |
concrete.cache.levels.expensive.drivers.redis.options.database | 0 |
concrete.cache.levels.expensive.preferred_driver | core_filesystem |
concrete.cache.levels.object.drivers.core_ephemeral.class | \Stash\Driver\Ephemeral |
concrete.cache.levels.object.drivers.redis.class | Concrete\Core\Cache\Driver\RedisStashDriver |
concrete.cache.levels.object.drivers.redis.options.prefix | c5_object |
concrete.cache.levels.object.drivers.redis.options.database | 0 |
concrete.cache.levels.object.preferred_driver | core_ephemeral |
concrete.cache.clear.thumbnails | true |
concrete.design.enable_custom | true |
concrete.design.enable_layouts | true |
concrete.log.emails | true |
concrete.log.errors | true |
concrete.log.spam | false |
concrete.log.enable_dashboard_report | true |
concrete.log.configuration.mode | simple |
concrete.log.configuration.simple.core_logging_level | NOTICE |
concrete.log.configuration.simple.handler | database |
concrete.log.configuration.simple.file.file | |
concrete.jobs.enable_scheduling | true |
concrete.filesystem.temp_directory | null |
concrete.filesystem.permissions.file | 420 |
concrete.filesystem.permissions.directory | 493 |
concrete.email.enabled | true |
concrete.email.default.address | concrete5-noreply@concrete5 |
concrete.email.default.name | |
concrete.email.form_block.address | false |
concrete.email.forgot_password.address | null |
concrete.email.forgot_password.name | null |
concrete.email.validate_registration.address | null |
concrete.email.validate_registration.name | null |
concrete.email.workflow_notification.address | null |
concrete.email.workflow_notification.name | null |
concrete.form.store_form_submissions | auto |
concrete.marketplace.enabled | 1 |
concrete.marketplace.request_timeout | 30 |
concrete.marketplace.token | null |
concrete.marketplace.site_token | null |
concrete.marketplace.intelligent_search | true |
concrete.marketplace.log_requests | false |
concrete.marketplace.intelligent_search_help | 1 |
concrete.external.intelligent_search_help | true |
concrete.external.news | 1 |
concrete.external.news_overlay | |
concrete.misc.user_timezones | false |
concrete.misc.package_backup_directory | /usr/home/aa218l3osv/html/application/files/trash |
concrete.misc.enable_progressive_page_reindex | true |
concrete.misc.mobile_theme_id | 0 |
concrete.misc.sitemap_approve_immediately | true |
concrete.misc.enable_translate_locale_en_us | false |
concrete.misc.page_search_index_lifetime | 259200 |
concrete.misc.enable_trash_can | true |
concrete.misc.app_version_display_in_header | true |
concrete.misc.default_jpeg_image_compression | 80 |
concrete.misc.default_png_image_compression | 9 |
concrete.misc.default_thumbnail_format | auto |
concrete.misc.inplace_image_operations_limit | 4194304 |
concrete.misc.basic_thumbnailer_generation_strategy | now |
concrete.misc.help_overlay | true |
concrete.misc.require_version_comments | false |
concrete.misc.enable_move_blocktypes_across_sets | false |
concrete.misc.image_editor_cors_policy.enable_cross_origin | false |
concrete.misc.image_editor_cors_policy.anonymous_request | true |
concrete.misc.generator_tag_display_in_header | true |
concrete.misc.login_redirect | HOMEPAGE |
concrete.misc.access_entity_updated | 1553857964 |
concrete.misc.latest_version | 8.5.0 |
concrete.misc.default_supermint_preset_id | 1 |
concrete.misc.do_page_reindex_check | false |
concrete.misc.login_redirect_cid | 0 |
concrete.theme.compress_preprocessor_output | true |
concrete.theme.generate_less_sourcemap | false |
concrete.updates.enable_auto_update_packages | false |
concrete.updates.enable_permissions_protection | true |
concrete.updates.check_threshold | 172800 |
concrete.updates.services.get_available_updates | http://www.concrete5.org/tools/update_core |
concrete.updates.services.inspect_update | http://www.concrete5.org/tools/inspect_update |
concrete.paths.trash | /!trash |
concrete.paths.drafts | /!drafts |
concrete.icons.page_template.width | 120 |
concrete.icons.page_template.height | 90 |
concrete.icons.theme_thumbnail.width | 120 |
concrete.icons.theme_thumbnail.height | 90 |
concrete.icons.file_manager_listing.handle | file_manager_listing |
concrete.icons.file_manager_listing.width | 60 |
concrete.icons.file_manager_listing.height | 60 |
concrete.icons.file_manager_detail.handle | file_manager_detail |
concrete.icons.file_manager_detail.width | 400 |
concrete.icons.file_manager_detail.height | 400 |
concrete.icons.user_avatar.width | 80 |
concrete.icons.user_avatar.height | 80 |
concrete.icons.user_avatar.default | /concrete/images/avatar_none.png |
concrete.file_manager.images.use_exif_data_to_rotate_images | false |
concrete.file_manager.images.manipulation_library | gd |
concrete.file_manager.images.create_high_dpi_thumbnails | true |
concrete.file_manager.images.preview_image_size | small |
concrete.file_manager.images.preview_image_popover | true |
concrete.file_manager.images.svg_sanitization.enabled | true |
concrete.file_manager.images.svg_sanitization.allowed_tags | |
concrete.file_manager.images.svg_sanitization.allowed_attributes | |
concrete.file_manager.results | 10 |
concrete.search_users.results | 10 |
concrete.sitemap_xml.file | sitemap.xml |
concrete.sitemap_xml.frequency | weekly |
concrete.sitemap_xml.priority | 0.5 |
concrete.accessibility.toolbar_titles | false |
concrete.accessibility.toolbar_large_font | false |
concrete.accessibility.display_help_system | true |
concrete.accessibility.toolbar_tooltips | true |
concrete.i18n.choose_language_login | false |
concrete.i18n.auto_install_package_languages | true |
concrete.i18n.community_translation.entry_point | http://translate.concrete5.org/api |
concrete.i18n.community_translation.api_token | |
concrete.i18n.community_translation.progress_limit | 60 |
concrete.i18n.community_translation.cache_lifetime | 3600 |
concrete.i18n.community_translation.package_url | https://translate.concrete5.org/translate/package |
concrete.urls.concrete5 | http://www.concrete5.org |
concrete.urls.concrete5_secure | https://www.concrete5.org |
concrete.urls.newsflow | http://newsflow.concrete5.org |
concrete.urls.background_feed | //backgroundimages.concrete5.org/wallpaper |
concrete.urls.privacy_policy | //www.concrete5.org/legal/privacy-policy |
concrete.urls.background_feed_secure | https://backgroundimages.concrete5.org/wallpaper |
concrete.urls.background_info | http://backgroundimages.concrete5.org/get_image_data.php |
concrete.urls.videos | https://www.youtube.com/user/concrete5cms/videos |
concrete.urls.help.developer | http://documentation.concrete5.org/developers |
concrete.urls.help.user | http://documentation.concrete5.org/editors |
concrete.urls.help.forum | http://www.concrete5.org/community/forums |
concrete.urls.help.slack | https://www.concrete5.org/slack |
concrete.urls.paths.menu_help_service | /tools/get_remote_help_list/ |
concrete.urls.paths.site_page | /private/sites |
concrete.urls.paths.newsflow_slot_content | /tools/slot_content/ |
concrete.urls.paths.marketplace.connect | /marketplace/connect |
concrete.urls.paths.marketplace.connect_success | /marketplace/connect/-/connected |
concrete.urls.paths.marketplace.connect_validate | /marketplace/connect/-/validate |
concrete.urls.paths.marketplace.connect_new_token | /marketplace/connect/-/generate_token |
concrete.urls.paths.marketplace.checkout | /cart/-/add |
concrete.urls.paths.marketplace.purchases | /marketplace/connect/-/get_available_licenses |
concrete.urls.paths.marketplace.item_information | /marketplace/connect/-/get_item_information |
concrete.urls.paths.marketplace.item_free_license | /marketplace/connect/-/enable_free_license |
concrete.urls.paths.marketplace.remote_item_list | /marketplace/ |
concrete.white_label.logo | /application/files/4715/5419/8298/logo.png |
concrete.white_label.name | 山口市働く婦人の家・山口県婦人教育文化会館 カリエンテ山口 |
concrete.white_label.background_image | null |
concrete.white_label.logo_fid | 25 |
concrete.session.name | CONCRETE5 |
concrete.session.handler | file |
concrete.session.redis.database | 1 |
concrete.session.save_path | null |
concrete.session.max_lifetime | 7200 |
concrete.session.cookie.cookie_path | false |
concrete.session.cookie.cookie_lifetime | 0 |
concrete.session.cookie.cookie_domain | false |
concrete.session.cookie.cookie_secure | false |
concrete.session.cookie.cookie_httponly | true |
concrete.user.registration.enabled | false |
concrete.user.registration.type | disabled |
concrete.user.registration.captcha | true |
concrete.user.registration.email_registration | false |
concrete.user.registration.display_username_field | true |
concrete.user.registration.display_confirm_password_field | true |
concrete.user.registration.validate_email | false |
concrete.user.registration.approval | false |
concrete.user.registration.notification | false |
concrete.user.group.badge.default_point_value | 50 |
concrete.user.username.maximum | 64 |
concrete.user.username.minimum | 3 |
concrete.user.username.allowed_characters.boundary | A-Za-z0-9 |
concrete.user.username.allowed_characters.middle | A-Za-z0-9_\. |
concrete.user.username.allowed_characters.requirement_string | A username may only contain letters, numbers, dots (not at the beginning/end), and underscores (not at the beginning/end). |
concrete.user.username.allowed_characters.error_string | A username may only contain letters, numbers, dots (not at the beginning/end), and underscores (not at the beginning/end). |
concrete.user.password.maximum | 128 |
concrete.user.password.minimum | 5 |
concrete.user.password.required_special_characters | 0 |
concrete.user.password.required_lower_case | 0 |
concrete.user.password.required_upper_case | 0 |
concrete.user.password.reuse | 0 |
concrete.user.password.hash_portable | false |
concrete.user.password.hash_cost_log2 | 12 |
concrete.user.password.legacy_salt | |
concrete.user.email.test_mx_record | false |
concrete.user.email.strict | true |
concrete.user.private_messages.throttle_max | 20 |
concrete.user.private_messages.throttle_max_timespan | 15 |
concrete.user.deactivation.enable_login_threshold_deactivation | false |
concrete.user.deactivation.login.threshold | 120 |
concrete.user.deactivation.authentication_failure.enabled | false |
concrete.user.deactivation.authentication_failure.amount | 5 |
concrete.user.deactivation.authentication_failure.duration | 300 |
concrete.user.deactivation.message | This user is inactive. Please contact us regarding this account. |
concrete.spam.whitelist_group | 0 |
concrete.spam.notify_email | |
concrete.calendar.colors.text | #ffffff |
concrete.calendar.colors.background | #3A87AD |
concrete.calendar.topic_attribute | event_categories |
concrete.security.session.invalidate_on_user_agent_mismatch | true |
concrete.security.session.invalidate_on_ip_mismatch | true |
concrete.security.session.invalidate_inactive_users.enabled | false |
concrete.security.session.invalidate_inactive_users.time | 300 |
concrete.security.ban.ip.enabled | true |
concrete.security.ban.ip.attempts | 5 |
concrete.security.ban.ip.time | 300 |
concrete.security.ban.ip.length | 10 |
concrete.security.misc.x_frame_options | SAMEORIGIN |
concrete.permissions.forward_to_login | true |
concrete.permissions.model | simple |
concrete.seo.exclude_words | a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with |
concrete.seo.url_rewriting | true |
concrete.seo.url_rewriting_all | false |
concrete.seo.redirect_to_canonical_url | 0 |
concrete.seo.canonical_url | null |
concrete.seo.canonical_url_alternative | null |
concrete.seo.trailing_slash | false |
concrete.seo.title_format | %2$s :: %1$s |
concrete.seo.title_segment_separator | :: |
concrete.seo.page_path_separator | - |
concrete.seo.group_name_separator | / |
concrete.seo.segment_max_length | 128 |
concrete.seo.paging_string | ccm_paging_p |
concrete.statistics.track_downloads | true |
concrete.limits.sitemap_pages | 100 |
concrete.limits.delete_pages | 100 |
concrete.limits.copy_pages | 10 |
concrete.limits.page_search_index_batch | 200 |
concrete.limits.job_queue_batch | 10 |
concrete.limits.style_customizer.size_min | -50 |
concrete.limits.style_customizer.size_max | 200 |
concrete.page.search.always_reindex | false |
concrete.composer.idle_timeout | 1 |
concrete.api.enabled | false |
concrete.api.grant_types.client_credentials | true |
concrete.api.grant_types.authorization_code | true |
concrete.api.grant_types.password_credentials | false |
concrete.mutex.semaphore.priority | 100 |
concrete.mutex.semaphore.class | Concrete\Core\System\Mutex\SemaphoreMutex |
concrete.mutex.file_lock.priority | 50 |
concrete.mutex.file_lock.class | Concrete\Core\System\Mutex\FileLockMutex |
concrete.version_db_installed | 20190301133300 |
concrete.maintenance.version_job_page_num | 268 |
concrete.site | カリエンテ山口 |
Key | Value |
ccm_paging_p_b2115 | 6 |
ccm_order_by_b2115 | |
ccm_order_by_direction_b2115 |
Key | Value |
_sf2_attributes | Array ( [supermint.options] => stdClass Object ( [responsive] => 1 [display_top_area] => 1 [display_top_bar_area] => 1 [layout_mode] => wide-wrapper [sidebar_size] => 3 [sidebar_padding] => space-xs [sidebar_offset] => 0 [content_padding] => space-s [autonav_horizontal_icon] => 1 [feature_link_button] => 1 [feature_link_text] => More details [default_nav_block_icon] => fa-chevron-circle-right [navigation_style] => large-top-nav [disable_embed_nav] => 0 [display_searchbox] => 322 [first_level_nav_icon] => 1 [first_level_regular_flaterize] => 0 [nav_sub_level_width] => 220 [full_width_multicolumn] => 1 [nav_multicolumns_item_per_column] => 5 [break_columns_on_child] => 1 [wide_navbar_fixed] => 0 [wide_navbar_colapse] => 0 [wide_navbar_contained] => 0 [wide_navbar_display_logo] => 1 [lateral_nav_element_font] => h6 [lateral_nav_element_size] => 14 [lateral_nav_element_uppercase] => 0 [lateral_nav_element_harmonized] => 0 [display_logo_mobile_nav] => 1 [display_main_logo_on_mobile] => 1 [full_width_mega] => 0 [mega_columns_width] => 200 [display_title_mega_menu] => 1 [nav_event] => click [nav_dbl_click_event] => url [nav_open_on_load] => 1 [nav_slide_arrow] => 1 [default_nav_icon] => fa-chevron-circle-right [display_pane_title] => 1 [nav_columns] => 4 [nav_columns_margin] => 2 [nav_open_speed] => 300 [nav_close_speed] => 300 [nav_slide_speed] => 300 [nav_mouseleave_delay] => 1000 [nav_shorten_desc] => 0 [display_footer] => 1 [display_footer_column] => half_two [footer_global] => 1 [footer_credit] => Copyright 一般財団法人 山口県婦人教育文化会館 カリエンテ山口 2010 © All Rights Reserved [disable_footer_login] => 1 [popup_content_start_css] => opacity: 0; transform: translateY(-20px) perspective( 2000px ) rotateX( 10deg ); [popup_content_animate_css] => opacity: 1; transform: translateY(0) perspective( 600px ) rotateX( 0 ); [popup_content_out_css] => opacity: 0; transform: translateY(-20px) perspective( 2000px ) rotateX( 10deg ); [popup_button_type] => button-push [popup_button_color] => button-primary [fix_iframe_zindex] => 0 [carousel_slidesToShow] => 3 [carousel_margin] => 10 [carousel_dots] => 1 [carousel_arrows] => 1 [carousel_infinite] => 0 [carousel_centerMode] => 0 [carousel_adaptiveHeight] => 1 [carousel_autoplay] => 1 [carousel_speed] => 300 [carousel_autoplaySpeed] => 5000 [carousel_meta] => 1 [stack_carousel_slidesToShow] => 3 [stack_carousel_margin] => 10 [stack_carousel_dots] => 1 [stack_carousel_arrows] => 1 [stack_carousel_infinite] => 0 [stack_carousel_centerMode] => 0 [stack_carousel_adaptiveHeight] => 1 [stack_carousel_autoplay] => 1 [stack_carousel_speed] => 300 [stack_carousel_autoplaySpeed] => 5000 [image_slider_effect] => fxSoftScale [image_slider_slidesToShow] => 1 [image_slider_margin] => 10 [image_slider_dots] => 1 [image_slider_arrows] => 1 [image_slider_infinite] => 0 [image_slider_adaptiveHeight] => 1 [image_slider_autoplay] => 1 [image_slider_autoplaySpeed] => 5000 [image_slider_speed] => 300 [p_font] => Roboto [p_variants] => 100,300,300italic,500,500italic [p_variants_selected] => 300 [p_subset] => latin [alternate_font] => Pacifico [alternate_variants] => regular [alternate_variants_selected] => regular [alternate_subset] => latin [h1_font] => Roboto [h1_variants] => 300 [h1_variants_selected] => 300 [h1_subset] => latin [h2_font] => Roboto [h2_variants] => 300 [h2_variants_selected] => 300 [h2_subset] => latin [h3_font] => Roboto [h3_variants] => 300 [h3_variants_selected] => 300 [h3_subset] => latin [h4_font] => Roboto+Condensed [h4_variants] => regular [h4_variants_selected] => regular [h4_subset] => latin [h5_font] => Roboto+Condensed [h5_variants] => regular [h5_variants_selected] => regular [h5_subset] => latin [h6_font] => Roboto+Condensed [h6_variants] => regular [h6_variants_selected] => regular [h6_subset] => latin [small_font] => Roboto+Condensed [small_variants] => 300 [small_variants_selected] => 300 [small_subset] => latin [h1_size] => 40 [h2_size] => 30 [h3_size] => 25 [h4_size] => 20 [h5_size] => 17 [h6_size] => 16 [lead_size] => 14 [alternate_size] => 0.8 [small_tag_size] => 0.8 [h1_upp] => 0 [h2_upp] => 0 [h3_upp] => 0 [h4_upp] => 1 [h5_upp] => 1 [h6_upp] => 0 [wide_ratio] => 1 [w724_ratio] => 1 [full_ratio] => 1 [size_minimum] => 13 [logo_col_size] => 9 [isotope_display_tags] => 1 [isotope_display_search] => 1 [display_searchbox_mobile] => 1 [hidde_dropdown_small_screen] => 1 [auto_hidde_top_bar] => 1 [nav_item_spacing] => 20 [full_screen_nav_font_size] => 20 [mmenu_theme] => light [mmenu_position] => left [mmenu_shadow] => 1 [mmenu_display_icon] => 1 [pID] => 1 ) [supermint.colors] => stdClass Object ( [variables] => Array ( [primary-color] => rgb(26, 148, 188) [secondary-color] => rgb(255, 174, 35) [tertiary-color] => rgb(102, 216, 194) [quaternary-color] => rgb(3, 77, 110) [white-color] => rgb(255, 255, 255) [black-color] => rgb(35, 39, 41) [success-color] => rgb(53, 219, 0) [info-color] => rgb(91, 192, 222) [warning-color] => rgb(240, 173, 78) [danger-color] => rgb(217, 83, 79) [body-bg-color] => rgb(255, 255, 255) [body-bg-pattern-image] => '/packages/theme_supermint/themes/images/patterns/noise.png' [boxed-bg-color] => rgb(255, 255, 255) [content-bg-color] => rgb(255, 255, 255) [top-nav-bg-color] => rgb(93, 53, 97) [top-nav-bg-hover-color] => rgb(176, 13, 13) [top-nav-height-size] => 36px [nav-megamenu-bg-color] => rgb(255, 255, 255) [full-screen-nav-bg-color] => rgb(219, 54, 54) [h1-color] => rgb(251, 251, 251) [body-font-size] => 16px [footer-bg-color] => rgb(93, 53, 97) [footer-section-divider-color] => rgb(217, 217, 217) ) [colors] => Array ( [primary] => rgb(26, 148, 188) [secondary] => rgb(255, 174, 35) [tertiary] => rgb(102, 216, 194) [quaternary] => rgb(3, 77, 110) [white] => rgb(255, 255, 255) [black] => rgb(35, 39, 41) [success] => rgb(53, 219, 0) [info] => rgb(91, 192, 222) [warning] => rgb(240, 173, 78) [danger] => rgb(217, 83, 79) [light] => [grey] => ) [contrast] => Array ( [primary-contrast] => #ffffff [secondary-contrast] => #232729 [tertiary-contrast] => #ffffff [quaternary-contrast] => #ffffff ) ) ) |
_symfony_flashes | Array ( ) |
_sf2_meta | Array ( [u] => 1711634197 [c] => 1711634197 [l] => 0 ) |
Key | Value |
DOCUMENT_ROOT | /usr/home/aa218l3osv/html |
GATEWAY_INTERFACE | CGI/1.1 |
HTTP_ACCEPT | */* |
HTTP_HOST | www.y-caliente.jp |
HTTP_USER_AGENT | claudebot |
PATH | /bin:/usr/bin:/usr/local/bin |
PHPRC | /home/aa218l3osv/html/ |
QUERY_STRING | ccm_paging_p_b2115=6&ccm_order_by_b2115=&ccm_order_by_direction_b2115= |
REDIRECT_QUERY_STRING | ccm_paging_p_b2115=6&ccm_order_by_b2115=&ccm_order_by_direction_b2115= |
REDIRECT_STATUS | 200 |
REDIRECT_UNIQUE_ID | ZgV3FJY8OgEAANiCI6kAAAAK |
REDIRECT_URL | /ニュースお知らせ |
REMOTE_ADDR | 3.238.195.81 |
REMOTE_HOST | ec2-3-238-195-81.compute-1.amazonaws.com |
REMOTE_PORT | 34654 |
REQUEST_METHOD | GET |
REQUEST_URI | /%E3%83%8B%E3%83%A5%E3%83%BC%E3%82%B9%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B?ccm_paging_p_b2115=6&ccm_order_by_b2115=&ccm_order_by_direction_b2115= |
SCRIPT_FILENAME | /usr/home/aa218l3osv/html/index.php |
SCRIPT_NAME | /index.php |
SERVER_ADDR | 150.60.59.157 |
SERVER_ADMIN | webmaster@y-caliente.jp |
SERVER_NAME | www.y-caliente.jp |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
UNIQUE_ID | ZgV3FJY8OgEAANiCI6kAAAAK |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711634196.7067 |
REQUEST_TIME | 1711634196 |