From eb5a2262a8c884323e0f638b39c8aa3cca55e761 Mon Sep 17 00:00:00 2001 From: Saqib Razzaq Date: Thu, 10 Mar 2016 00:06:53 -0800 Subject: [PATCH] Calling function to check modules before video upload --- upload/upload.php | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/upload/upload.php b/upload/upload.php index 4415b32b..b0e2980b 100644 --- a/upload/upload.php +++ b/upload/upload.php @@ -10,19 +10,7 @@ define("THIS_PAGE","upload"); define("PARENT_PAGE","upload"); - - -/*if(isset($_POST['embed_code'])){ - $_POST['embed_code'] = base64_encode($_POST['embed_code']); -}*/ - -//var_dump($_POST);die(); - require 'includes/config.inc.php'; - -//var_dump($_POST);die(); -//$userquery->logincheck(); - $pages->page_redir(); subtitle('upload'); @@ -34,20 +22,11 @@ else if(has_access('allow_video_upload',false,$verify_logged_user)) { - + pre_upload(); $file_name = time().RandomString(5); assign('file_name',$file_name); $step = 1; - /*if(!empty($_POST)){ - - foreach ($_POST as $key => $value) { - echo "{$key} : "; - dump(($value)); - } - - }*/ - if(isset($_POST['submit_data'])) { $Upload->validate_video_upload_form();