pyrocms/pyrocms — Issue #1144: latest 2.1develop index.php file has duplicate define
Author: jaysonng
Created: 2012-02-16 17:58:31+00:00
State: open

The following section is repeated in the index.php file thus creating an already define error.

/*
*---------------------------------------------------------------
* DEMO
*---------------------------------------------------------------
*
* Should PyroCMS run as a demo, meaning no destructive actions
* can be taken such as removing admins or changing passwords?
*
*/

define('PYRO_DEMO', (file_exists(FCPATH.'DEMO')));