static function get_root_dir() { if (isset($_SERVER["PWD"])) { return $_SERVER["PWD"]; } return @$_SERVER["DOCUMENT_ROOT"]; }