Would it be a good idea to include extensions for a script this way?
for eg. using glob to get a list of php files from a certain directory, and do a require_once
for each file.
this would run each time the page is generated. would it be bad for performance?