throw new \Exception("class '". $className. "' is invalid", 666015); } } else{ if(!in_array($parentClassShortName, ["tfrestfulAPI"])){ throw new \Exception("class '" . $className . "' is invalid", 666016); } if($resName == "") $resName = basename($pru); $_SERVER["RESTFUL_RESOURCE_NAME"] = $resName; $_SERVER["RESTFUL_RESOURCE_VALUE"] = $resValue; $_SERVER["RESTFUL_RESOURCE_FUNCTION"] = $resFunction;
tfphp\tfphp::start() in /var/www/tfphp/tfphp.inc.php line 236
tfphp\tfphp::run() in /var/www/html/index.php line 24
tfproject\index::run() in /var/www/html/index.php line 27