1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
   |  
$cfg['ilibs'] = array (											// image library path with slashes; absolute to root directory - please make sure that the directories have write permissions	
		array (																		
			'value'   	=> @$_SERVER['DOCUMENT_ROOT'].'/html/images/upload/albumphoto/',												
			'text'    	=> 'Site Pictures',
		),
		array (
			'value'   	=> @$_SERVER['DOCUMENT_ROOT'].'/html/images/upload/gallerie/', 				
			'text'    	=> 'Gallery',
		),	
	);
	//-------------------------------------------------------------------------
// use dynamic image libraries - if $cfg['ilibs_inc'] is set, static image libraries above are ignored
// image directories to be scanned
	$cfg['ilibs_dir'] 	   = array(@$_SERVER['DOCUMENT_ROOT'].'/html/images/upload/albumphoto/',@$_SERVER['DOCUMENT_ROOT'].'/html/images/upload/gallerie/');	// image library path with slashes; absolute to root directory - please make sure that the directories have write permissions
	$cfg['ilibs_dir_show'] = true;									// show main library (true) or only sub-dirs (false)
	//$cfg['ilibs_inc']      = realpath(dirname(__FILE__) . '/../scripts/rdirs.php'); 	// file to include in ibrowser.php (useful for setting $cfg['ilibs] dynamically
	//-------------------------------------------------------------------------  | 
Partager