Calling function to check modules before video upload
This commit is contained in:
parent
7a1701cf2a
commit
eb5a2262a8
1 changed files with 1 additions and 22 deletions
|
@ -10,19 +10,7 @@
|
||||||
|
|
||||||
define("THIS_PAGE","upload");
|
define("THIS_PAGE","upload");
|
||||||
define("PARENT_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';
|
require 'includes/config.inc.php';
|
||||||
|
|
||||||
//var_dump($_POST);die();
|
|
||||||
//$userquery->logincheck();
|
|
||||||
|
|
||||||
$pages->page_redir();
|
$pages->page_redir();
|
||||||
subtitle('upload');
|
subtitle('upload');
|
||||||
|
|
||||||
|
@ -34,20 +22,11 @@ else
|
||||||
|
|
||||||
if(has_access('allow_video_upload',false,$verify_logged_user))
|
if(has_access('allow_video_upload',false,$verify_logged_user))
|
||||||
{
|
{
|
||||||
|
pre_upload();
|
||||||
$file_name = time().RandomString(5);
|
$file_name = time().RandomString(5);
|
||||||
assign('file_name',$file_name);
|
assign('file_name',$file_name);
|
||||||
|
|
||||||
$step = 1;
|
$step = 1;
|
||||||
/*if(!empty($_POST)){
|
|
||||||
|
|
||||||
foreach ($_POST as $key => $value) {
|
|
||||||
echo "{$key} : ";
|
|
||||||
dump(($value));
|
|
||||||
}
|
|
||||||
|
|
||||||
}*/
|
|
||||||
|
|
||||||
if(isset($_POST['submit_data']))
|
if(isset($_POST['submit_data']))
|
||||||
{
|
{
|
||||||
$Upload->validate_video_upload_form();
|
$Upload->validate_video_upload_form();
|
||||||
|
|
Loading…
Add table
Reference in a new issue