Project

General

Profile

« Previous | Next » 

Revision 282

Added by stefan over 18 years ago

Replaced all remaining occurrences of '/media' by MEDIA_DIRECTORY - bug #108.

View differences:

list_media.php
44 44
// Get the directory to browse
45 45
$directory = $admin->get_get('folder');
46 46
if($directory == '') {
47
	$directory = '/media';
47
	$directory = MEDIA_DIRECTORY;
48 48
}
49 49
// If the directory contains ../ then set it to /media
50 50
if(strstr($directory, '../')) {
51
	$directory = '/media';
51
	$directory = MEDIA_DIRECTORY;
52 52
}
53 53

  
54 54
// Insert files into the file list

Also available in: Unified diff