Merge pull request #4 from readybytes/master

Jrequest getvar removed
Removed __DIR__ constant, creating issue in php5.2
Merge pull request #7 from rbsl-rimjhim/master

Removed __DIR__ constant, creating issue in php5.2