PEEL Shopping
Open source ecommerce : PEEL Shopping
Variables
fine_uploader.php File Reference

Go to the source code of this file.

Variables

 if (vb($GLOBALS['site_parameters']['used_uploader'])!= 'fineuploader')
 
 $uploader = new FineUploader()
 
 $file_kind = 'any'
 
if(!empty($GLOBALS['site_parameters']['extensions_valides_'.$file_kind])) $uploader sizeLimit = min($uploader->toBytes(ini_get('upload_max_filesize')), $uploader->toBytes(ini_get('post_max_size')), $GLOBALS['site_parameters']['uploaded_file_max_size'])
 
$uploader inputName = key($_FILES)
 
$uploader chunksFolder = $GLOBALS['dirroot'].'/'.$GLOBALS['site_parameters']['cache_folder']
 
 $save_path = '/'.$GLOBALS['site_parameters']['cache_folder']
 
 $save_full_path = $GLOBALS['dirroot'].$save_path
 
 $rename_file = false
 
 $extension = String::strtolower(pathinfo($uploader->getName(), PATHINFO_EXTENSION))
 
if(empty($new_file_name_without_extension)) $the_new_file_name = $new_file_name_without_extension . '.' . $extension
 
 $load = true
 

Variable Documentation

$extension = String::strtolower(pathinfo($uploader->getName(), PATHINFO_EXTENSION))

Definition at line 45 of file fine_uploader.php.

$file_kind = 'any'

Definition at line 26 of file fine_uploader.php.

$load = true

Definition at line 52 of file fine_uploader.php.

$rename_file = false

Definition at line 44 of file fine_uploader.php.

$save_full_path = $GLOBALS['dirroot'].$save_path

Definition at line 42 of file fine_uploader.php.

$save_path = '/'.$GLOBALS['site_parameters']['cache_folder']

Definition at line 41 of file fine_uploader.php.

if (empty($new_file_name_without_extension)) $the_new_file_name = $new_file_name_without_extension . '.' . $extension

Definition at line 50 of file fine_uploader.php.

$uploader = new FineUploader()

Definition at line 24 of file fine_uploader.php.

$uploader chunksFolder = $GLOBALS['dirroot'].'/'.$GLOBALS['site_parameters']['cache_folder']

Definition at line 39 of file fine_uploader.php.

if(vb($GLOBALS['site_parameters']['used_uploader'])!= 'fineuploader')

Definition at line 17 of file fine_uploader.php.

$uploader inputName = key($_FILES)

Definition at line 36 of file fine_uploader.php.

if (!empty($GLOBALS['site_parameters']['extensions_valides_'.$file_kind])) $uploader sizeLimit = min($uploader->toBytes(ini_get('upload_max_filesize')), $uploader->toBytes(ini_get('post_max_size')), $GLOBALS['site_parameters']['uploaded_file_max_size'])

Definition at line 33 of file fine_uploader.php.


This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:40 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.