PHP Classes

File: src/settings.php

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   PHP Women's Menstruation   src/settings.php   Download  
File: src/settings.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Women's Menstruation
Application to calculate women's menstruation days
Author: By
Last change:
Date: 1 year ago
Size: 535 bytes
 

Contents

Class file image Download
<?php
return [
   
'settings' => [
       
'displayErrorDetails' => false, // 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' => __DIR__ . '/../logs/app.log',
           
'level' => \Monolog\Logger::DEBUG,
        ],
    ],
];