File: /var/www/vhosts/creativefellows.nl/fysiovdberg.creativefellows.nl/config/settings.php
<?php
// Error reporting for production
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
setlocale(LC_TIME, 'nl_NL');
function d($str)
{
echo "<pre>";
print_r($str);
echo "</pre>";
}
// Timezone
date_default_timezone_set('Europe/Amsterdam');
// Settings
$settings = [];
$settings['mode'] = "DEVELOPMENT";
$settings['root'] = dirname(__DIR__);
$settings['temp'] = $settings['root'] . '/tmp';
$settings['public'] = $settings['root'] . '/public';
$settings['template_path'] = $settings['root'] . '/views/';
$settings['cache'] = $settings['root'] . '/cache/';
$settings['email_template_path']= $settings['root'] . '/resources/';
$settings["upload_dir"] = $settings['root'] . '/upload/';
$settings['domain_name'] = '/';
$settings['domain_path'] = 'http://fysiovdberg.creativefellows.nl';
$settings['hash_key'] = 'akz2TaXRfaZ4dAqEeugt';
$settings['use_cache'] = false;
$settings['default_form_id']= null;
$settings["pagination"] = 12;
$settings["email_settings"] = [
"from" => "contact@fysiovdberg.nl",
"logo" => "/images/hi-bw.png",
"name" => "heftruckinruilen",
"primary_color" => "#0078a1",
"secondary_color" => "#90cc07",
"subject" => "Taxatie",
"email_intro" => "<p>Bedankt voor het invullen van ons taxatieformulier. We gaan hier mee aan de slag en sturen je binnen één werkdag een bericht met de waarde van jouw heftruck.</p>",
];
$settings['localization'] = [
"default_language" => '',
"selected_language" => null,
"available_languages" => [0 => 'nl'],
"language_labels" => ['settings.nl.php'],
"base_url" => $settings['domain_path']
];
$settings['cookies'] = [
'cookie_text' => "Deze website gebruikt cookies om de gebruikerservaring te kunnen verbeteren. Door gebruik te maken van deze website gaat u hiermee akkoord.",
'cookie_link' => '/privacyverklaring',
'cookie_link_accept' => 'accept-cookies',
'cookie_button_more' => 'Meer Informatie',
'cookie_button_accept' => 'Accepteren',
];
$settings['twig'] = [
// Template paths
'paths' => [
__DIR__ . '/../templates',
],
// Twig environment options
'options' => [
// Should be set to true in production
'debug' => true,
'cache_enabled' => false,
'cache_path' => __DIR__ . '/../tmp/twig',
],
];
// Error Handling Middleware settings
$settings['error'] = [
'display_error_details' => true,
'log_errors' => true,
'log_error_details' => true,
];
// custom main navigation items
$settings["custom_navigation"] = [];
$settings['logger'] = [
'name' => 'app',
'path' => $settings['root'] . '/logs',
'filename' => 'app.log',
'level' => \Monolog\Logger::DEBUG,
'file_permission' => 0775,
];
$settings['db'] = [
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'Fellows_cassette3_fysiovdberg',
'username' => 'Fellows_fysio_user',
'password' => '%b2rj788X',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'flags' => [
// Turn off persistent connections
PDO::ATTR_PERSISTENT => false,
// Enable exceptions
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
// Emulate prepared statements
PDO::ATTR_EMULATE_PREPARES => true,
// Set default fetch mode to array
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
// Set character set
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci'
],
];
// default labels
$settings["labels"] = [
"logo" => '<svg xmlns="http://www.w3.org/2000/svg" data-name="Laag 1" viewBox="0 0 215.3 39.56"><defs><clipPath id="a"><path d="M0 0h215.3v39.56H0z" style="fill:none;stroke-width:0"/></clipPath><clipPath id="b"><path d="M0 0h215.3v39.56H0z" style="fill:none;stroke-width:0"/></clipPath><clipPath id="c"><path d="M0 0h215.3v39.56H0z" style="fill:none;stroke-width:0"/></clipPath><clipPath id="d"><path d="M0 0h215.3v39.56H0z" style="fill:none;stroke-width:0"/></clipPath><clipPath id="e"><path d="M0 0h215.3v39.56H0z" style="fill:none;stroke-width:0"/></clipPath></defs><path d="m54.67 11.6 2.88 10.71 2.88-10.71h5.43l-5.19 15.57h-6.24L49.24 11.6h5.43z" style="fill:#3a3a39;stroke-width:0"/><g style="clip-path:url(#a)"><path d="M76.81 19.64c-.16.14-.33.24-.52.31s-.44.14-.76.22l-2.67.62c-.47.08-.86.29-1.14.64-.29.35-.43.76-.43 1.23 0 .55.2 1.01.59 1.36.4.36.91.53 1.54.53.99 0 1.8-.27 2.43-.8.63-.53.95-1.23.95-2.08v-2.05Zm-.92 6.8c-1.03.81-2.48 1.22-4.35 1.22-1.66 0-2.96-.42-3.91-1.27-.95-.85-1.42-2.04-1.42-3.58 0-2.59 1.62-4.14 4.87-4.65l4.24-.71c1.05-.16 1.57-.65 1.57-1.48 0-1.18-.87-1.78-2.61-1.78s-2.58.73-2.58 2.2h-4.75c0-3.5 2.45-5.25 7.36-5.25s7.36 1.57 7.36 4.71v8.8c0 .49.03.91.09 1.26s.18.77.36 1.29h-5.1c-.14-.47-.21-.9-.21-1.28v-.39c-.14.2-.29.38-.46.53s-.32.29-.46.39M84.17 11.6h4.96v1.96c1.17-1.62 2.81-2.43 4.93-2.43 1.68 0 3.01.5 3.98 1.48.97.99 1.45 2.33 1.45 4.04v10.53h-5.1v-9.41c0-1.6-.75-2.4-2.25-2.4-1.9 0-2.85 1.14-2.85 3.41v8.4h-5.1V11.6ZM103.13 19.35c0 2.22.5 4 1.5 5.34 1 1.34 2.33 2.01 3.99 2.01s3.06-.66 4.12-1.99c1.07-1.33 1.6-3.02 1.6-5.08 0-.81-.11-1.65-.33-2.5-.22-.85-.52-1.6-.91-2.25-.39-.65-1.01-1.2-1.88-1.68-.87-.47-1.74-.71-2.61-.71-1.68 0-3.02.62-4.01 1.86-.99 1.24-1.48 2.91-1.48 5.01m11.22-13.55h1.22v21.37h-1.22v-3.32c-.24.59-.44 1.02-.6 1.28s-.61.75-1.36 1.47c-.75.72-2.04 1.08-3.89 1.08-2.09 0-3.72-.74-4.89-2.23-1.17-1.49-1.76-3.56-1.76-6.21 0-2.4.6-4.31 1.79-5.74 1.19-1.43 2.79-2.14 4.8-2.14s3.25.39 3.97 1.17c.72.78 1.16 1.3 1.33 1.54.17.25.37.65.61 1.2V5.81ZM120.16 18.69h10.95c0-1.92-.48-3.44-1.45-4.57-.96-1.13-2.24-1.69-3.84-1.69s-2.99.57-4.06 1.71c-1.07 1.14-1.61 2.66-1.61 4.56m5.46 8.9c-2.02 0-3.66-.72-4.93-2.17-1.27-1.44-1.9-3.35-1.9-5.73s.65-4.48 1.96-6.02c1.31-1.54 3.02-2.31 5.13-2.31 2.31 0 3.99.8 5.03 2.4 1.04 1.6 1.56 3.26 1.56 4.99v.98h-12.4c0 .38.01.66.03.86.02.2.08.62.18 1.28.34 1.48.98 2.65 1.94 3.49.96.84 2.13 1.26 3.52 1.26 1.03 0 1.97-.26 2.83-.77.86-.51 1.44-1.06 1.74-1.65.3-.58.49-1.01.56-1.29.08-.28.16-.6.24-.98h1.19c-.75 3.78-2.98 5.67-6.68 5.67M135.68 11.86h1.28v3.38c.24-.53.45-.94.62-1.22.18-.28.49-.62.92-1.04.44-.42 1.01-.77 1.71-1.05.7-.29 1.48-.43 2.34-.43 3.49 0 5.24 2.02 5.24 6.05v9.61h-1.28v-9.61c0-3.28-1.41-4.93-4.23-4.93-1.53 0-2.8.53-3.81 1.6-1.01 1.07-1.52 2.4-1.52 4.01v8.93h-1.28V11.85ZM156.19 19.34c0 2.85 1.04 4.27 3.12 4.27s3.15-1.42 3.15-4.27c0-1.37-.27-2.41-.82-3.13-.54-.72-1.32-1.08-2.33-1.08s-1.76.36-2.3 1.08c-.54.72-.82 1.76-.82 3.13m-4.96-13.56h5.13v7.42c1.27-1.39 2.79-2.08 4.57-2.08 2.02 0 3.65.73 4.9 2.2 1.25 1.46 1.87 3.39 1.87 5.79s-.5 4.34-1.51 5.53c-1.01 1.2-1.92 1.97-2.73 2.33-.81.36-1.78.53-2.91.53-1.07 0-1.94-.17-2.61-.5-.67-.34-1.26-.92-1.75-1.75v1.93h-4.96V5.78ZM174.2 17.83h6.59c0-.99-.32-1.79-.95-2.4-.63-.61-1.41-.92-2.35-.92s-1.71.31-2.34.92c-.63.61-.95 1.42-.95 2.4m10.36 6.44c-1.38 2.31-3.82 3.47-7.3 3.47-2.37 0-4.31-.75-5.82-2.26-1.5-1.5-2.26-3.44-2.26-5.82s.77-4.47 2.31-6.05 3.51-2.37 5.91-2.37 4.41.76 5.92 2.27c1.51 1.51 2.27 3.51 2.27 5.98l.03 1.19h-11.54c0 1.19.31 2.13.92 2.82.61.69 1.45 1.04 2.52 1.04.73 0 1.36-.18 1.87-.53.51-.36.9-.86 1.16-1.51h4.69c-.22.79-.45 1.39-.68 1.78M187.64 11.6h4.99v2.37c1.2-1.9 2.69-2.85 4.45-2.85.22 0 .46.03.71.09.26.06.49.11.71.15v4.6c-.32-.1-.61-.17-.89-.21-.28-.04-.55-.06-.83-.06-1.4 0-2.36.33-2.86.98-.51.65-.82 1.19-.93 1.62-.12.43-.18 1.02-.18 1.8v7.09h-5.16V11.6ZM204.17 19.49c0 2.81 1.02 4.21 3.06 4.21s3.12-1.42 3.12-4.27-1.03-4.21-3.09-4.21-3.09 1.42-3.09 4.27m6.08-7.89h5.04v15.34c0 1.17-.13 2.02-.4 2.57-.27.54-.55 1-.86 1.36-.31.37-.76.77-1.37 1.22s-1.3.78-2.11.99c-.8.22-1.88.33-3.22.33-2.33 0-4.09-.38-5.27-1.13-1.18-.75-1.97-2.01-2.39-3.77l4.79-.15c.08.61.37 1.09.87 1.42.5.34 1.16.5 1.97.5 1.95 0 2.93-1.13 2.93-3.38v-1.48c-1.07 1.37-2.57 2.05-4.53 2.05-2.13 0-3.79-.7-4.97-2.11-1.18-1.4-1.78-3.35-1.78-5.85s.6-4.6 1.81-6.08c1.21-1.48 2.87-2.23 4.99-2.23 1.96 0 3.45.75 4.48 2.26v-1.87Z" style="fill:#3a3a39;stroke-width:0"/></g><path d="M52.13 32.51v6.88h.65v-3.25h3.4v-.54h-3.4v-2.53h3.79v-.56h-4.44zM61.6 35.99l-2.26-3.48h-.75l2.68 4.07v2.81h.67v-2.81l2.72-4.07h-.77l-2.29 3.48z" style="fill:#b83013;stroke-width:0"/><g style="clip-path:url(#b)"><path d="M67.65 37.13c0 .63.18 1.1.54 1.42.36.32.9.49 1.6.49.61 0 1.08-.13 1.44-.38.35-.26.53-.6.53-1.04 0-.31-.09-.56-.28-.75s-.49-.33-.91-.44l-1.75-.47c-.16-.04-.29-.08-.4-.11s-.25-.09-.44-.18-.36-.26-.52-.51c-.16-.25-.23-.54-.23-.87 0-.57.22-1.03.65-1.36.44-.34 1.03-.51 1.77-.51.41 0 .75.04 1.02.11.27.08.53.21.77.41s.42.4.52.61c.1.21.16.38.19.51s.05.29.05.5h-.65c0-.15 0-.25-.02-.32-.02-.06-.06-.19-.13-.37a1.32 1.32 0 0 0-.34-.48c-.15-.13-.36-.24-.62-.32-.26-.08-.54-.12-.83-.12-.53 0-.96.12-1.27.36-.32.24-.47.56-.47.97 0 .27.08.49.24.67.1.12.21.21.34.28.13.06.36.14.69.23l1.56.4c.59.15 1.01.36 1.28.64s.4.65.4 1.12c0 .6-.23 1.08-.7 1.44-.47.36-1.09.53-1.89.53-.42 0-.81-.06-1.17-.16-.36-.11-.67-.27-.91-.48-.25-.21-.42-.48-.53-.79a3 3 0 0 1-.17-1h.65Z" style="fill:#b83013;stroke-width:0"/></g><path d="M75.65 32.51h.65v6.88h-.65z" style="fill:#b83013;stroke-width:0"/><g style="clip-path:url(#c)"><path d="M80.23 35.95c0 .9.25 1.63.74 2.21.49.57 1.12.86 1.9.86s1.42-.28 1.91-.85.74-1.31.74-2.22-.25-1.63-.74-2.2c-.49-.57-1.13-.86-1.9-.86s-1.41.28-1.9.85-.74 1.3-.74 2.21m2.63-3.58c.98 0 1.77.33 2.38.99.6.66.91 1.53.91 2.6s-.3 1.94-.9 2.6c-.6.66-1.39.99-2.38.99s-1.77-.33-2.37-.99c-.6-.66-.9-1.53-.9-2.6s.3-1.94.9-2.6c.6-.66 1.39-.99 2.37-.99" style="fill:#b83013;stroke-width:0"/></g><path d="M88.71 32.51v.56h2.35v6.32h.65v-6.32h2.34v-.56h-5.34zM101.6 32.51v3.01h-4.01v-3.01h-.65v6.88h.65v-3.3h4.01v3.3h.66v-6.88h-.66zM105.85 32.51v6.88h4.76v-.57h-4.11v-2.71h3.8v-.54h-3.8v-2.5h4.07v-.56h-4.72z" style="fill:#b83013;stroke-width:0"/><g style="clip-path:url(#d)"><path d="M114.55 35.8h2.12c.24 0 .47-.03.68-.08.21-.05.4-.12.55-.22.15-.1.28-.24.38-.43.1-.19.15-.41.15-.66 0-.9-.56-1.36-1.68-1.36h-2.19v2.75Zm-.65-3.29h3.07c.64 0 1.16.17 1.54.51.39.34.58.8.58 1.37 0 .38-.08.69-.24.92-.16.23-.32.4-.46.51-.15.11-.36.19-.63.24.38.07.67.23.88.47.21.24.32.56.32.96l.07 1.18.03.32c.02.12.07.26.16.4h-.73l-.07-.14a.578.578 0 0 1-.06-.17c-.01-.05-.01-.14-.01-.25l-.06-1.31c0-.4-.14-.7-.43-.9-.29-.2-.71-.29-1.26-.29h-2.05v3.06h-.65v-6.88Z" style="fill:#b83013;stroke-width:0"/></g><path d="m124.84 33.08 1.36 3.71h-2.8l1.43-3.71Zm-.43-.57-2.68 6.88h.71l.81-2.08h3.13l.79 2.08h.71l-2.62-6.88h-.85Z" style="fill:#b83013;stroke-width:0"/><g style="clip-path:url(#e)"><path d="M131.38 33.06v2.88h2.12c.53 0 .94-.12 1.22-.37s.42-.61.42-1.1c0-.43-.14-.78-.43-1.03s-.67-.38-1.16-.38h-2.17Zm-.65-.55h2.91c.67 0 1.2.18 1.58.53.38.36.57.85.57 1.47s-.17 1.09-.51 1.37c-.34.27-.63.44-.87.51s-.55.1-.92.1h-2.13v2.9h-.65v-6.88Z" style="fill:#b83013;stroke-width:0"/></g><path d="M138.76 32.51h.65v6.88h-.65zM143.02 32.51v6.88h4.75v-.57h-4.1v-2.71h3.79v-.54h-3.79v-2.5h4.06v-.56h-4.71zM38.31 27.16h8.1L30.11 2.71l-4.05 6.07 12.25 18.38z" style="fill:#b83013;stroke-width:0"/><path d="M18.12 0 0 27.17h5.24l1.79-2.68 1.79 2.68h27.41L18.12 0z" style="fill:#eb5b3e;stroke-width:0"/></svg>',
];
return $settings;