Changed Application
- issue: 366
- problem: warnings display because method parameters where not passed to function (vars not set)
- changes:
1. Check number of required parameters on the method before calling it.(used reflectionmethod PHP 5 >= 5.0.3)
if number of available parameters is smaller then required script headers to error/index
2. Added die after header, otherwise script execution will continue (can lead to nesty bug)
- Tested on : PHP 5.5