Fixed PhpsafeController - done more flexible.

Signed-off-by: SeynovAM <sejnovalexey@gmail.com>
Merge branch 'master' of git://github.com/flexibuild/php-safe