From 54981f0aeda42db7e57fa607b7b50e74d1c5d0f5 Mon Sep 17 00:00:00 2001 From: Saqib Razzaq Date: Thu, 10 Mar 2016 01:41:13 -0800 Subject: [PATCH] Docuementation added for pre_upload() function --- upload/includes/functions_video.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/upload/includes/functions_video.php b/upload/includes/functions_video.php index ddc1cf16..ebc6233b 100644 --- a/upload/includes/functions_video.php +++ b/upload/includes/functions_video.php @@ -1729,6 +1729,16 @@ function check_server_ram() { return $total_ram; } +/** +* Checks different sections to make sure video uploading is good to go +* +* @param : { none } { everything handled inside function } +* @checks : { server ram, directory permissions, PHP path, module installations, versions } +* @action : { string } { error messages depending on situation } +* @author : Saqib Razzaq +* @since : 10th March, 2016 ClipBucket 2.8.1 +*/ + function pre_upload() { if (isset($_GET['alliswell'])) { if (has_access("admin_access")) {