HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/firstbrick.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['email_template_path']= $settings['root'] . '/resources/';


$settings['domain_name'] 	= '/';
$settings['domain_path'] 	= 'http://firstbrick.creativefellows.nl';
$settings['hash_key']		= 'akz2TaXRfaZ4dAqEeugt';
$settings['use_cache']		= false;
$settings['email_from']		= ["email"=> "contact@firstbrickrealestate.com", "name" => "First Brick Real Estate"];
$settings['default_form_id']= null;
$settings["pagination"] 	= 12;


$settings['localization'] = [
	"default_language" 		=> '',
	"selected_language"		=> null,
	"available_languages" 	=> [0 => 'nl'],
	"language_labels"		=> ['settings.nl.php']
];


// default labels
$settings["labels"] = [
	"logo" => '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 243.76 43.77"><defs><clipPath id="clip-path"><path style="fill:none" d="M0 0h243.76v43.77H0z"/></clipPath><style>.cls-5{fill:#4A4A4A}</style></defs><path style="fill:#009fe3" d="m0 32.48 60.44 5.66V16.63L0 10.97v21.51z"/><path style="fill:#0c65af" d="M79.91 5.64v21.5l-19.47 11V16.63L79.91 5.64z"/><g style="clip-path:url(#clip-path)"><path class="cls-5" d="M232.27 43.51h10v-1.37h-8.51V35h7.34v-1.34h-7.34v-6.44H242v-1.36h-9.77Zm-10.48 0h1.48V27.22h6.07v-1.36h-13.62v1.36h6.07Zm-9-6.64h-7.53l1.8-4.38c.73-1.78 1.34-3.29 1.95-4.83h.05c.63 1.61 1.29 3.24 1.95 4.85ZM201 43.51h1.54l2.17-5.27h8.65l2.17 5.27h1.61l-7.39-17.65h-1.41Zm-6.14 0h1.49V27.22h6.07v-1.36h-13.64v1.36h6.07Zm-18.68-1.22a9.83 9.83 0 0 0 5.22 1.48c3.32 0 5.58-1.8 5.58-4.9 0-3.38-2.65-4.31-5.16-5-2.2-.61-4.42-1.12-4.42-3.63 0-2.15 1.59-3.24 3.88-3.24a8.79 8.79 0 0 1 5 1.61V27a9.21 9.21 0 0 0-5-1.39c-3.19 0-5.38 1.7-5.38 4.73 0 3.19 2.48 4.12 5 4.82 2.29.64 4.56 1.2 4.56 3.81 0 2.29-1.73 3.43-4.1 3.43a8.64 8.64 0 0 1-5.22-1.78Zm-12.89 1.22h10v-1.37h-8.5V35h7.33v-1.34h-7.33v-6.44h8.28v-1.36h-9.77Zm-19.33 0h10.24v-1.37h-8.76V25.86H144Zm-6.8-6.64h-7.54l1.81-4.38c.73-1.78 1.34-3.29 2-4.83.63 1.61 1.29 3.24 2 4.85Zm-11.8 6.64h1.53l2.17-5.27h8.66l2.17 5.27h1.61l-7.4-17.65h-1.41Zm-11.53 0h10v-1.37h-8.53V35h7.34v-1.34h-7.34v-6.44h8.29v-1.36h-9.77Zm-14.1-9.17v-7.12h3.14c2 0 3.15.17 4.1.81a3.12 3.12 0 0 1 1.44 2.75 3.15 3.15 0 0 1-1.13 2.54 5.76 5.76 0 0 1-3.85 1Zm-1.49 9.17h1.49v-7.9h3.8l5.75 7.9h1.81l-5.9-8a6.55 6.55 0 0 0 2.81-1.07 4.5 4.5 0 0 0 1.85-3.73 4.38 4.38 0 0 0-2-3.81 8.79 8.79 0 0 0-4.87-1h-4.74ZM228.69 17.69h3.82V9h.05l6.44 8.69h4.72l-7.15-9.34L243.2.26h-4.55L232.56 8h-.05V.26h-3.82Zm-3-4.79a8.72 8.72 0 0 1-4.93 1.62A5.46 5.46 0 0 1 214.89 9a5.4 5.4 0 0 1 5.68-5.52A8.86 8.86 0 0 1 225.39 5V1.08A11.22 11.22 0 0 0 220.55 0c-5.61 0-9.49 4-9.49 9s3.88 9 9.49 9a11.1 11.1 0 0 0 5.1-1.16Zm-21.33 4.79h3.83V.26h-3.83ZM192 7.94V3.61h1.47a6.54 6.54 0 0 1 2.86.46 1.71 1.71 0 0 1 1 1.71 1.8 1.8 0 0 1-1 1.75 5.42 5.42 0 0 1-2.4.41Zm-3.83 9.75H192v-6.88h1.71l4.41 6.88h4.4l-4.91-7.36a4.86 4.86 0 0 0 3.54-4.82A4.46 4.46 0 0 0 199 1.42a10.42 10.42 0 0 0-5.41-1.16h-5.47Zm-12-3.27v-4.31h2.28c2 0 3.11.7 3.11 2.22a1.7 1.7 0 0 1-1.08 1.75 8.28 8.28 0 0 1-2.89.34Zm0-6.93V3.54h1.18A6 6 0 0 1 180 4a1.61 1.61 0 0 1 .82 1.52c0 1.42-1.11 2-2.67 2Zm-3.83 10.2h5.18A12.85 12.85 0 0 0 182 17a4.64 4.64 0 0 0 3.32-4.57A4.13 4.13 0 0 0 182 8.21v-.05a3.55 3.55 0 0 0 2.62-3.54 3.66 3.66 0 0 0-2-3.37 11.26 11.26 0 0 0-5.3-1h-5.08Zm-18.08 0H158V3.61h5.63V.26h-15.08v3.35h5.63Zm-19-1a12.87 12.87 0 0 0 5.46 1.31c3.76 0 6.34-2.05 6.34-5.44 0-3.08-2.12-4.31-4.75-5.18-2.09-.7-3.7-.82-3.7-2.36 0-1.15.93-1.63 2.23-1.63A11.11 11.11 0 0 1 146.19 5V1.25A12 12 0 0 0 140.87 0c-3.66 0-6.12 2-6.12 5.27 0 3 2.17 4.21 4.58 5 2.24.72 3.87.87 3.87 2.48 0 1.3-1 1.85-2.43 1.85a11 11 0 0 1-5.56-1.8Zm-12.2-8.75V3.61h1.46a6.56 6.56 0 0 1 2.87.46 1.71 1.71 0 0 1 1 1.71 1.8 1.8 0 0 1-1 1.75 5.47 5.47 0 0 1-2.41.41Zm-3.83 9.75h3.83v-6.88h1.7l4.41 6.88h4.4l-4.91-7.36a4.86 4.86 0 0 0 3.54-4.82 4.47 4.47 0 0 0-2.09-4.09 10.48 10.48 0 0 0-5.42-1.16h-5.46Zm-7.49 0h3.83V.26h-3.83Zm-14.11 0h3.83v-7.15h6.21V7.37h-6.21V3.61h7.22V.26H97.63Z"/></g></svg>',		
];


$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' => 'vnalierop_nl_first-brick', // 
    'username' => 'vnalierop_nl_fistbrick_user', //  
    'password' => '4pfMb0!0', // 
    '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'
    ],
];

return $settings;