self_url_scheme handles case where called from command line
self_url_scheme handles case where called from command line

Signed-off-by: terry chay <84af3c926ed10f1d6cd2edbb2f961790f318db78@php.net>

tychay/TGIFramework,tychay/TGIFramework,tychay/TGIFramework