requestType == 'PATH_INFO') { system('php ../php/ztcli "http://localhost/admin-checkdb"', $requestVar); } elseif($config->requestType == 'GET') { system('php ../php/ztcli "http://localhost/?m=admin&f=checkdb"', $requestVar); } if(!$requestVar) { echo "Check DataBase successfully!\n"; } /* avoid init error. */ function getWebRoot(){} class config{}