web2project
web2project copied to clipboard
Add PHP extensions check to installer
resolves #289
While I agree with what you've done here, I think we need to tweak the approach. The phpExtCheck method should not be embedded in the PHP here. Ideally, it would be a method on the installer class or similar. Or - failing that - it would be in the main_functions.php file to keep it with the others.
(Also, I'm sorry I didn't respond to this sooner.. I didn't get a notification that you had updated it.)
I agree that phpExtCheck should not be embedded. But I suppose it's up to you to choose the best place for the method. If you want it on the installer class, where in the tree the Installer.class.php should be located?