Fix framework to work with PHP pages
Fix framework to work with PHP pages