This repository has been archived on 2023-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
prosody_web_admin_rest/config/Config.php

34 lines
1.2 KiB
PHP
Raw Normal View History

2016-07-10 15:32:38 +00:00
<?php
use Monolog\Logger;
class Config
{
public static $CONFIG =
[
// no need to change anything here
'db_settings' => [
'driver' => 'sqlite',
2021-05-20 23:21:43 +00:00
'database' => __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'db.sqlite',
2016-07-10 15:32:38 +00:00
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
],
'slim_settings' => [
'displayErrorDetails' => true,
'determineRouteBeforeAppMiddleware' => true,
],
'twig_settings' => [
2021-05-20 23:21:43 +00:00
'twig_dir' => __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'View',
2016-07-10 15:32:38 +00:00
'twig_cache_dir' => false,
//'twig_cache_dir' => __DIR__ . DIRECTORY_SEPARATOR . '..'. DIRECTORY_SEPARATOR .'src'. DIRECTORY_SEPARATOR .'cache',
],
'logger_settings' => [
2021-05-20 23:21:43 +00:00
'path' => __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR . 'application.log',
2016-07-10 15:32:38 +00:00
],
];
2021-05-20 23:21:43 +00:00
}