Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated includes in Top Files #24

Open
billcreswell opened this issue Mar 18, 2015 · 0 comments
Open

Repeated includes in Top Files #24

billcreswell opened this issue Mar 18, 2015 · 0 comments

Comments

@billcreswell
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant