Closed benwaffle closed 10 years ago
To be honest, the settings.inc.php include should remain for readability purposes. Then, when skimming the code, you know it's there, even if it's included from somewhere else.
Valid point, added //include_once 'includes/database.inc.php'; Included in database.inc.php.
Does include_once have a performance hit?
Don't think so. Even if it does it's negligible.
This is PHP, nothing is ever negligible. This change probably shaves an hour off of runtime.
My sides
Top kek.
Anyway, the include should remain imo
He added it in a line comment, which probably suffices to demonstrate where it comes from. Bit hackish but who cares, all of PHP is a hack
Gotta keep Pomf ghetto ~
Not ghetto enough. I'll open a pull request to put the following image in circulation under kawaii.php
:
Cayoot
database.inc.php already includes settings.inc.php