<?php

    /**
     * PHP Code Enhancement Framework
     *
     * PHP Code Enhancement or PCE in short is small project (part of Code Enhancement
     * project) created to help making web application using PHP easier and more
     * efficient by writing less. PCE purpose is to provide class and method so
     * developer will write less code, manage their code better and can share code
     * with other easily. PCE will be modular as much as possible by splitting project
     * or package into it own directory and can be integrated into website application
     * easily.
     *
     * @copyright Hernantas 2016
     * @license MIT
     * @link http://www.hernantas.com
     */

?>

<?php

    /**
     * PHP Code Enhancement Framework
     *
     * PHP Code Enhancement or PCE in short is small project (part of Code Enhancement
     * project) created to help making web application using PHP easier and more
     * efficient by writing less. PCE purpose is to provide class and method so
     * developer will write less code, manage their code better and can share code
     * with other easily. PCE will be modular as much as possible by splitting project
     * or package into it own directory and can be integrated into website application
     * easily.
     *
     * @copyright Hernantas 2016
     * @license MIT
     * @link http://www.hernantas.com
     */

    /**
     * Core Configuration
     *
     * BECAREFUL WHEN MODIFYING BELLOW THIS LINE.
     *
     * This is core configuration to determine basic behaviour such as environment
     * settings, framework location and default app location. Invalid configuration
     * will break the project.
     */

    /**
     * Set project environment settings.
     *
     * @var string
     */
    $environment = 'development';

    /**
     * STOP, DO NOT MODIFY BELLOW THIS LINE.
     *
     * This is the end of core configuration.
     */

    /**
     * Set PHP error reporting based on environment settings.
     */
    switch ($environment)
    {
        case 'development':
        case 'testing':
            error_reporting(E_ALL);

        case 'release':
        default:
            error_reporting(0);
    }

    /**
     * GLOBAL CONSTANT
     *
     * Define global constant variable for later use.
     */
    define('ENVIRONMENT', $environment);
?>

Add environment variable to define project environment
Add environment variable to define project environment
