Config::$sys_url . Config::$file_path . $randomname .'.'. $extension)); } else { // Notify editor that the upload failed header("HTTP/1.1 500 Server Error"); }