pluck-cms / pluck

Central repo for pluck cms
http://www.pluck-cms.org
56 stars 39 forks source link

Repeated includes in Top Files #24

Open billcreswell opened 9 years ago

billcreswell commented 9 years ago

These includes are repeated in admin.php, requirements.php, install.php, and login.php.

//Include security-enhancements. require_once 'data/inc/security.php';

//Include functions. require_once 'data/inc/functions.modules.php'; require_once 'data/inc/functions.all.php'; require_once 'data/inc/functions.admin.php';

//Include variables. require_once 'data/inc/variables.all.php';

On my fork, I have put all these includes in data/inc/pluck-core.php so that the top level files need only include pluck_core.