Docuementation added for pre_upload() function

This commit is contained in:
Saqib Razzaq 2016-03-10 01:41:13 -08:00
parent b78e008bdf
commit 54981f0aed

View file

@ -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")) {