PHP v5.5: preg_replace(): The /e modifier is deprecated - Fixed

hasFlash() method issue. - Fixed
Simplified database connection settings, and example connection given