Merge pull request #23 from yupe/master

UPD: merge with yupe/master
UPD: исправил -  Undefined index: PATH_INFO
Merge pull request #524 from angel-kulikov/master

UPD: исправил - Undefined index: PATH_INFO