File: /var/www/vhosts/creativefellows.nl/hotel.creativefellows.nl/src/settings.php
<?php
return [
'settings' => [
'determineRouteBeforeAppMiddleware' => true,
'upload_path' => __DIR__ . '/../public/content/',
'captcha_sitekey' => '',
'captcha_secretkey' => '',
'base_url' => "/",
'csrf_token' => md5(uniqid(mt_rand(), true)),
'db' => [
'host' => "localhost",
'user' => "nec_hotel",
'pass' => "Ntyc66$4",
'dbname'=> "cassette3_nec_hospitality"
],
'language' => [
'lang_id' => 0,
'language_base' => '',
'locale' => "nl_NL",
'region' => "NL",
],
'default_wrapper' => '<div id="{element-id}" class="{element-class}" style="{style}" {data-attributes}>{section_htmlwrapper}</div>',
'group_wrapper' => '<div id="{element-id}" class="grid-container full {element-class}" style="{style}" {data-attributes}><div class="grid-container">{section_htmlwrapper}</div></div>',
'nested_wrapper' => '<div id="{element-id}" class="{element-class}" style="{style}" {data-attributes}>{section_htmlwrapper}</div>',
'items_per_page' => 24,
'defaultHomeSection' => "home",
'search_placeholder' => "Search",
'search_header' => "Search",
'search_no_result' => "Your search <strong>%s</strong> did not match any documents.",
'footer_copy' => "© ". date("Y"). " NEC Enterprise Solutions. All rights reserved.",
'mandatory_field' => "Verplicht",
'error_404_header' => "Page not found (404)",
'error_404_desc' => "The page you were looking for could not be found.",
'error_404_img' => '<img src="images/nec-404.png" alt=""/>',
'displayErrorDetails' => true, // set to false in production
'addContentLengthHeader' => false, // Allow the web server to send the content-length header
'renderer' => [
'template_path' => __DIR__ . '/../views/',
],
'logger' => [
'name' => 'slim-app',
'path' => __DIR__ . '/../logs/'.date('Y-m-d').'.log',
'level' => \Monolog\Logger::DEBUG,
],
'logo_svg_data' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 300 23.4" preserveAspectRatio="xMidYMin slice"><defs><style>.a{fill:none;}.b{clip-path:url(#a);}.c{fill:#122e5c;}.d{fill:#eb6608;}.e{fill:#004f9e;}</style><clipPath id="a"><rect class="a" width="300" height="23.4"/></clipPath></defs><title>NEC Orchestrating a Brighter World</title><g class="b"><path class="c" d="M120.49,14.07a8.42,8.42,0,0,0,.18-2.35,8,8,0,0,0-.18-2.34A1.86,1.86,0,0,0,118.58,8,1.84,1.84,0,0,0,116.7,9.4a8,8,0,0,0-.18,2.34,8.42,8.42,0,0,0,.18,2.35,2,2,0,0,0,3.79,0m-5.5.47a8.3,8.3,0,0,1-.27-2.81,8.27,8.27,0,0,1,.27-2.8,3.87,3.87,0,0,1,7.21,0,8.27,8.27,0,0,1,.27,2.8,8.3,8.3,0,0,1-.27,2.81,3.87,3.87,0,0,1-7.21,0"/><path class="c" d="M124.24,16.82a.14.14,0,0,1-.16-.12V9.75a.15.15,0,0,1,.14-.16h1.39a.15.15,0,0,1,.15.15h0v.65h0a2.08,2.08,0,0,1,1.87-.93,2.21,2.21,0,0,1,1.52.6.15.15,0,0,1,0,.21h0l-.8,1a.14.14,0,0,1-.2,0h0a2,2,0,0,0-1.06-.35c-.94,0-1.36.67-1.36,1.83v3.92a.14.14,0,0,1-.13.15H124.2Z"/><path class="c" d="M129.6,15a5.68,5.68,0,0,1-.23-1.79,5.3,5.3,0,0,1,.23-1.81,2.91,2.91,0,0,1,3-2,3.14,3.14,0,0,1,2.51,1.13.13.13,0,0,1,0,.2h0l-.94.83a.14.14,0,0,1-.2,0l0,0a1.64,1.64,0,0,0-1.34-.64,1.33,1.33,0,0,0-1.35.94,4.35,4.35,0,0,0-.15,1.34,4.38,4.38,0,0,0,.15,1.35,1.35,1.35,0,0,0,1.35.93,1.66,1.66,0,0,0,1.34-.63.14.14,0,0,1,.2,0l0,0,.94.84a.13.13,0,0,1,0,.2h0A3.22,3.22,0,0,1,132.6,17a2.92,2.92,0,0,1-3-2"/><path class="c" d="M141.09,16.82a.15.15,0,0,1-.16-.14h0V12.51A1.36,1.36,0,0,0,139.81,11a1,1,0,0,0-.24,0,1.39,1.39,0,0,0-1.39,1.39,1.21,1.21,0,0,0,0,.19v4.17a.14.14,0,0,1-.13.15h-1.4a.14.14,0,0,1-.15-.13V6.78a.14.14,0,0,1,.13-.15H138a.14.14,0,0,1,.15.13v3.52h0a2.24,2.24,0,0,1,1.91-.85,2.48,2.48,0,0,1,2.52,2.42,2.44,2.44,0,0,1,0,.27v4.56a.15.15,0,0,1-.15.15h-1.33Z"/><path class="c" d="M148.58,11.78a1.54,1.54,0,0,0-2.83,0,1.64,1.64,0,0,0-.09.62.08.08,0,0,0,.07.09h2.85a.08.08,0,0,0,.09-.07v0a2.16,2.16,0,0,0-.09-.62M144.23,15A5.37,5.37,0,0,1,144,13.2a6,6,0,0,1,.24-1.78,3.19,3.19,0,0,1,4.15-1.77,3.14,3.14,0,0,1,1.77,1.77,6.62,6.62,0,0,1,.24,2.17.14.14,0,0,1-.13.15h-4.49a.08.08,0,0,0-.09.07v0a1.36,1.36,0,0,0,.11.56,1.56,1.56,0,0,0,1.61,1.09,2.18,2.18,0,0,0,1.7-.69.15.15,0,0,1,.21,0h0l.89.78a.14.14,0,0,1,0,.2h0a3.8,3.8,0,0,1-3,1.23,2.91,2.91,0,0,1-3-2"/><path class="c" d="M151.36,15.84a.15.15,0,0,1,0-.21l.87-.9a.15.15,0,0,1,.21,0,3.28,3.28,0,0,0,2.11.83c.88,0,1.33-.36,1.33-.85s-.26-.7-1.2-.8l-.79-.07c-1.46-.16-2.22-.9-2.22-2.13,0-1.4,1-2.28,2.81-2.28a4.41,4.41,0,0,1,2.71.89.14.14,0,0,1,0,.2h0l-.73.89a.14.14,0,0,1-.2,0h0a3.47,3.47,0,0,0-1.89-.6.89.89,0,0,0-1.07.66.29.29,0,0,0,0,.09c0,.42.26.67,1.19.77l.81.06c1.5.14,2.22.93,2.22,2.11,0,1.44-1.05,2.44-3,2.44a4.45,4.45,0,0,1-3.11-1.15"/><path class="c" d="M161,16.92c-1.45,0-2-.71-2-2.12V11a.08.08,0,0,0-.07-.09h-.5a.14.14,0,0,1-.15-.13v-1a.14.14,0,0,1,.12-.16h.51a.08.08,0,0,0,.09-.07v-2a.15.15,0,0,1,.14-.1h1.38a.14.14,0,0,1,.15.13v2a.08.08,0,0,0,.07.09h1a.13.13,0,0,1,.13.15h0v1a.13.13,0,0,1-.11.15h-1a.08.08,0,0,0-.09.07v3.76a.57.57,0,0,0,.45.67.45.45,0,0,0,.23,0h.39a.13.13,0,0,1,.13.13V16.8a.13.13,0,0,1-.11.15H161Z"/><path class="c" d="M163.54,16.82a.14.14,0,0,1-.15-.13V9.75a.14.14,0,0,1,.12-.16h1.41a.15.15,0,0,1,.15.15h0v.65h0a2.07,2.07,0,0,1,1.93-1,2.19,2.19,0,0,1,1.52.6.15.15,0,0,1,0,.21h0l-.79,1a.14.14,0,0,1-.21,0,2,2,0,0,0-1.07-.35c-.93,0-1.37.67-1.37,1.83v3.92a.14.14,0,0,1-.13.15h-1.4Z"/><path class="c" d="M173.15,14.4v-.56a.08.08,0,0,0-.06-.1h-1.23c-1.09,0-1.56.3-1.56,1s.44.9,1.24.9c1,0,1.61-.41,1.61-1.23m.18,2.43a.14.14,0,0,1-.15-.13v-.56h0a2.36,2.36,0,0,1-2,.84,2.16,2.16,0,0,1-2.41-1.87,1.94,1.94,0,0,1,0-.34c0-1.58,1.11-2.3,2.89-2.3h1.47s.08,0,.09,0a0,0,0,0,0,0,0v-.33c0-.83-.39-1.21-1.61-1.21a2.58,2.58,0,0,0-1.65.5.13.13,0,0,1-.18,0l0,0-.56-1a.15.15,0,0,1,0-.2,4.26,4.26,0,0,1,2.57-.7c2.2,0,3,.75,3,2.52V16.7a.14.14,0,0,1-.13.15h-1.29Z"/><path class="c" d="M178.68,16.92c-1.45,0-2-.71-2-2.12V11a.08.08,0,0,0-.07-.09h-.51a.15.15,0,0,1-.16-.14h0v-1a.16.16,0,0,1,.16-.16h.48a.08.08,0,0,0,.09-.07v-2a.13.13,0,0,1,.15-.1h1.38a.15.15,0,0,1,.16.14h0v2a.08.08,0,0,0,.07.09h1a.14.14,0,0,1,.14.14v1a.13.13,0,0,1-.11.15h-1a.08.08,0,0,0-.09.07v3.76a.57.57,0,0,0,.51.62h.51a.14.14,0,0,1,.14.14h0v1.2a.14.14,0,0,1-.13.15h-.73Z"/><path class="c" d="M181.22,16.82a.14.14,0,0,1-.15-.13V9.75a.15.15,0,0,1,.14-.16h1.39a.14.14,0,0,1,.15.13v7a.14.14,0,0,1-.13.15h-1.4Zm0-8.59a.15.15,0,0,1-.15-.15h0V6.78a.14.14,0,0,1,.13-.15h1.4a.14.14,0,0,1,.15.13V8.08a.14.14,0,0,1-.12.16h-1.41Z"/><path class="c" d="M189.21,16.82a.14.14,0,0,1-.16-.12V12.51A1.36,1.36,0,0,0,187.93,11a1,1,0,0,0-.24,0,1.4,1.4,0,0,0-1.4,1.4,1.09,1.09,0,0,0,0,.18v4.17a.14.14,0,0,1-.13.15h-1.39a.15.15,0,0,1-.15-.15V9.75a.15.15,0,0,1,.14-.16h1.39a.14.14,0,0,1,.14.14v.55h0a2.24,2.24,0,0,1,1.91-.85,2.48,2.48,0,0,1,2.51,2.43,2.26,2.26,0,0,1,0,.26v4.56a.14.14,0,0,1-.13.15h-1.37Z"/><path class="c" d="M196.48,14.22a3.42,3.42,0,0,0,.16-1.19,3.68,3.68,0,0,0-.16-1.19,1.25,1.25,0,0,0-1.3-.91,1.22,1.22,0,0,0-1.27.91,3.43,3.43,0,0,0-.17,1.19,3.21,3.21,0,0,0,.17,1.19,1.22,1.22,0,0,0,1.27.93,1.24,1.24,0,0,0,1.3-.93m-4.16,4.39a.13.13,0,0,1,0-.18l0,0,.88-.89a.16.16,0,0,1,.21,0l0,0a2.22,2.22,0,0,0,1.57.68,1.48,1.48,0,0,0,1.63-1.31,1.41,1.41,0,0,0,0-.41v-.68h0a2.07,2.07,0,0,1-1.88.85,2.41,2.41,0,0,1-2.46-1.76A5.48,5.48,0,0,1,192,13a5.39,5.39,0,0,1,.24-1.83,2.4,2.4,0,0,1,2.47-1.81,2.07,2.07,0,0,1,1.88.85h0v-.5a.14.14,0,0,1,.12-.16h1.41a.14.14,0,0,1,.15.13V16.4a3,3,0,0,1-2.63,3.33,3.14,3.14,0,0,1-.75,0,3.56,3.56,0,0,1-2.62-1.08"/><path class="d" d="M207.86,13.55v1c0,.83-.73,1.38-1.84,1.38-.71,0-1.57-.21-1.57-1.16,0-.59.21-1.2,1.82-1.2h1.59ZM206.25,9.4a3.56,3.56,0,0,0-2.35.71.3.3,0,0,0-.08.42h0l.26.38a.34.34,0,0,0,.46,0,2.38,2.38,0,0,1,1.65-.48c1.42,0,1.66.46,1.66,1.43v.63h-1.7c-2.34,0-2.83,1.2-2.83,2.21,0,1.37.94,2.2,2.53,2.2a2.92,2.92,0,0,0,2-.68v.22a.29.29,0,0,0,.29.31h.5a.31.31,0,0,0,.31-.31V11.9c0-1.77-.77-2.46-2.73-2.46"/><path class="d" d="M217.52,10.53a1.56,1.56,0,0,1,1.64,1.1,5,5,0,0,1,.19,1.59,4.9,4.9,0,0,1-.19,1.57,1.77,1.77,0,0,1-3.28,0,4.9,4.9,0,0,1-.18-1.57,4.75,4.75,0,0,1,.19-1.59,1.56,1.56,0,0,1,1.64-1.1m.17-1.13a2.54,2.54,0,0,0-2,.77V6.93a.29.29,0,0,0-.29-.31h-.53a.29.29,0,0,0-.31.29v9.6a.31.31,0,0,0,.31.31h.51a.29.29,0,0,0,.31-.29V16.2a2.5,2.5,0,0,0,2,.77,2.45,2.45,0,0,0,2.54-1.77,6.43,6.43,0,0,0,.26-2,6.43,6.43,0,0,0-.26-2,2.45,2.45,0,0,0-2.54-1.8"/><path class="d" d="M226.56,10A2.36,2.36,0,0,0,225,9.4a2.15,2.15,0,0,0-1.73.74V9.9a.31.31,0,0,0-.31-.31h-.51a.31.31,0,0,0-.32.3h0v6.61a.31.31,0,0,0,.31.31H223a.31.31,0,0,0,.32-.3h0V12.69c0-.8.2-2.16,1.54-2.16a1.89,1.89,0,0,1,1,.33h.19a.32.32,0,0,0,.24-.13l.29-.4a.28.28,0,0,0,0-.4l0,0"/><path class="d" d="M228.67,6.63H228a.3.3,0,0,0-.32.28v.84a.31.31,0,0,0,.31.31h.67a.31.31,0,0,0,.34-.28V6.93a.29.29,0,0,0-.29-.31h0"/><path class="d" d="M228.59,9.59h-.5a.31.31,0,0,0-.32.3h0v6.61a.32.32,0,0,0,.32.32h.5a.31.31,0,0,0,.32-.3V9.9a.31.31,0,0,0-.31-.31h0"/><path class="d" d="M233.54,15.77a1.51,1.51,0,0,1-1.57-1.1,4.61,4.61,0,0,1-.2-1.52,4.73,4.73,0,0,1,.2-1.54,1.69,1.69,0,0,1,3.16,0,4.65,4.65,0,0,1,.17,1.53,4.59,4.59,0,0,1-.17,1.52,1.54,1.54,0,0,1-1.6,1.09m2.59-6.18h-.5a.31.31,0,0,0-.32.3h0v.28a2.43,2.43,0,0,0-1.92-.75,2.48,2.48,0,0,0-2.51,1.79,6,6,0,0,0-.25,1.93,6,6,0,0,0,.25,1.93,2.48,2.48,0,0,0,2.51,1.77,2.39,2.39,0,0,0,1.92-.74v.45A1.65,1.65,0,0,1,234,18.46a1.57,1.57,0,0,1-.53,0,2.06,2.06,0,0,1-1.61-.68.3.3,0,0,0-.44,0l0,0-.36.31a.31.31,0,0,0-.07.43,3.11,3.11,0,0,0,5.46-2V9.9a.29.29,0,0,0-.29-.31h0"/><path class="d" d="M241.72,9.4a2.54,2.54,0,0,0-1.93.77V6.93a.29.29,0,0,0-.29-.31H239a.3.3,0,0,0-.32.28v9.61a.31.31,0,0,0,.31.31h.52a.31.31,0,0,0,.32-.3h0V12.28a1.65,1.65,0,0,1,1.54-1.75h.2c1.13,0,1.68.62,1.68,1.9v4.08a.31.31,0,0,0,.31.31H244a.3.3,0,0,0,.32-.28v-4.3a2.47,2.47,0,0,0-2.13-2.78,2.1,2.1,0,0,0-.5,0"/><path class="d" d="M249,9.59h-1.24V7.69a.31.31,0,0,0-.33-.29h-.51a.31.31,0,0,0-.32.3h0v1.9h-.66a.31.31,0,0,0-.32.3h0v.41a.31.31,0,0,0,.31.31h.67v4.22c0,1.45.58,2,2,2h.4a.31.31,0,0,0,.33-.29v-.48a.32.32,0,0,0-.32-.32h-.31c-.72,0-1-.14-1-1V10.62H249a.31.31,0,0,0,.33-.29V9.9a.31.31,0,0,0-.31-.31h0"/><path class="d" d="M253.48,10.5a1.67,1.67,0,0,1,1.72,1.19,3.22,3.22,0,0,1,.13.87h-3.69a3.22,3.22,0,0,1,.13-.87,1.67,1.67,0,0,1,1.72-1.19m0-1.06a2.75,2.75,0,0,0-2.78,1.91,6.1,6.1,0,0,0-.23,1.85,5.93,5.93,0,0,0,.23,1.83A2.76,2.76,0,0,0,253.57,17a3.32,3.32,0,0,0,2.7-1.22.29.29,0,0,0,0-.41l0,0-.34-.31a.31.31,0,0,0-.44,0v0a2.23,2.23,0,0,1-1.83.82,1.76,1.76,0,0,1-1.83-1.23,3.43,3.43,0,0,1-.14-1.1h4.5a.31.31,0,0,0,.34-.28v0a5.56,5.56,0,0,0-.21-1.9,2.76,2.76,0,0,0-2.83-1.95"/><path class="d" d="M262.59,10a2.37,2.37,0,0,0-1.51-.52,2.18,2.18,0,0,0-1.74.74V9.9a.31.31,0,0,0-.31-.31h-.52a.29.29,0,0,0-.31.29v6.63a.29.29,0,0,0,.29.31H259a.31.31,0,0,0,.32-.3h0V12.69c0-.8.2-2.16,1.53-2.16a1.87,1.87,0,0,1,1,.33h.18a.33.33,0,0,0,.26-.13l.29-.4a.28.28,0,0,0-.06-.43"/><path class="d" d="M276.34,9.59h-.54a.37.37,0,0,0-.35.25l-1.6,5-1.7-5a.35.35,0,0,0-.34-.25h-.44a.35.35,0,0,0-.34.25l-1.67,5L267.7,9.78a.35.35,0,0,0-.35-.24h-.53a.24.24,0,0,0-.23.11.23.23,0,0,0,0,.25l2.19,6.61a.34.34,0,0,0,.34.27h.45a.33.33,0,0,0,.34-.26l1.71-5,1.67,5a.36.36,0,0,0,.35.27h.45a.33.33,0,0,0,.34-.26l2.2-6.61a.3.3,0,0,0,0-.26.28.28,0,0,0-.23-.11"/><path class="d" d="M280.52,15.88a1.69,1.69,0,0,1-1.7-1.17,4.82,4.82,0,0,1-.19-1.51,4.76,4.76,0,0,1,.19-1.5,1.83,1.83,0,0,1,3.42,0,4.47,4.47,0,0,1,.17,1.5,4.53,4.53,0,0,1-.17,1.51,1.69,1.69,0,0,1-1.72,1.17m0-6.44a2.76,2.76,0,0,0-2.79,1.91,5.78,5.78,0,0,0-.24,1.85,5.84,5.84,0,0,0,.24,1.86,3,3,0,0,0,5.59,0,5.78,5.78,0,0,0,.24-1.85,5.78,5.78,0,0,0-.24-1.85,2.76,2.76,0,0,0-2.8-1.91"/><path class="d" d="M289.63,10a2.39,2.39,0,0,0-1.52-.52,2.15,2.15,0,0,0-1.73.74V9.9a.31.31,0,0,0-.31-.31h-.52a.31.31,0,0,0-.32.3h0v6.61a.31.31,0,0,0,.31.31h.52a.31.31,0,0,0,.32-.3h0V12.69c0-.8.2-2.16,1.54-2.16a1.89,1.89,0,0,1,1,.33h.18a.31.31,0,0,0,.25-.13l.28-.4a.3.3,0,0,0,.08-.24.26.26,0,0,0-.13-.19"/><path class="d" d="M292.81,15.77h-.26c-.4,0-.58-.1-.58-.72V6.93a.31.31,0,0,0-.31-.31h-.51a.29.29,0,0,0-.31.29v8.17c0,1.25.49,1.78,1.62,1.78h.35a.31.31,0,0,0,.31-.31v-.46a.31.31,0,0,0-.3-.32h0"/><path class="d" d="M297,15.88a1.58,1.58,0,0,1-1.63-1.1,5.2,5.2,0,0,1-.19-1.57,5.33,5.33,0,0,1,.19-1.59,1.58,1.58,0,0,1,1.63-1.1,1.56,1.56,0,0,1,1.64,1.1,4.48,4.48,0,0,1,.19,1.59,4.4,4.4,0,0,1-.19,1.57,1.56,1.56,0,0,1-1.64,1.1m2.65-9.25h-.5a.3.3,0,0,0-.32.28V10.2a2.56,2.56,0,0,0-2-.76,2.42,2.42,0,0,0-2.56,1.77,5.88,5.88,0,0,0-.25,2,5.88,5.88,0,0,0,.25,2A2.44,2.44,0,0,0,296.83,17a2.5,2.5,0,0,0,2-.77v.31a.31.31,0,0,0,.31.31h.51a.29.29,0,0,0,.31-.29V6.93a.29.29,0,0,0-.27-.31h0"/><path class="d" d="M112.75,18.31a.77.77,0,0,0,.41-1L106,2h0a.33.33,0,0,0-.6.26h0l6.3,15.68a.75.75,0,0,0,1,.4h0Z"/><path class="e" d="M0,.71H7.05c1.62,0,3.52,1.5,4.38,2.34L23.82,16.79V.71H28V22.65H20.65a5.54,5.54,0,0,1-4.11-1.79L4.19,7.09V22.65H0Z"/><path class="e" d="M87.75,22.8a69.54,69.54,0,0,1-15.26.33,22.47,22.47,0,0,1-8.61-2.28c-3.38-1.76-4.46-5.71-4.42-9.29,0-3.31,1-6.83,4-8.75A15.72,15.72,0,0,1,69.66.73,63.32,63.32,0,0,1,87.48.55V3.67c-6.89-1.33-14.17-1-16.64,2.17a8.5,8.5,0,0,0-1.78,5.56c0,3,1,7.48,7,8.36a36.18,36.18,0,0,0,11.65-.55V22.8Z"/><path class="e" d="M44.6,19.4H58v3.29c-6.57.26-12.89.36-19.51.09-5.62-.23-6.6-3.07-6.71-5.78V.71h25.9V3.84H40.9V9.4H56.15v3H40.9c0,1.65,0,3.52.06,3.85,0,2.21,1,3,3.64,3.15"/></g></svg>',
]
];
function d($str)
{
echo "<pre>";
print_r($str);
echo "</pre>";
}
/*
return [
'settings' => [
'displayErrorDetails' => true, // set to false in production
'addContentLengthHeader' => false, // Allow the web server to send the content-length header
// Renderer settings
'renderer' => [
'template_path' => __DIR__ . '/../templates/',
],
// Monolog settings
'logger' => [
'name' => 'slim-app',
'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/app.log',
'level' => \Monolog\Logger::DEBUG,
],
],
];
*/
?>