Plugin Directory

Changeset 1554764


Ignore:
Timestamp:
12/14/2016 04:02:05 PM (9 years ago)
Author:
fifthestate
Message:

Added documentation about local-config.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fifthestate/trunk/fifthestate.php

    r1554071 r1554764  
    1212const APP_NAME = 'FifthEstate';
    1313
     14// This is an optional local configuration file that you can create.
     15// It is meant for FifthEstate devs.
     16// Here is an example configuration:
     17//     <?php
     18//     namespace FifthEstate;
     19//     // http://blog.teamtreehouse.com/how-to-debug-in-php
     20//     ini_set('display_errors', 'On');
     21//     error_reporting(E_ALL | E_STRICT);
     22//
     23//     // http://stackoverflow.com/a/3193704/1796894
     24//     const SITE_URL = 'http://localhost';
     25//     const API_BASE_URL = 'http://localhost:4238';
    1426if (file_exists(__DIR__ . '/local-config.php'))
    1527    include_once 'local-config.php';
Note: See TracChangeset for help on using the changeset viewer.