Project

General

Profile

Revision 192

View differences:

trunk/configuration.ext.php
11 11
$frontend_enabled = false;
12 12

  
13 13
// THE SUBDIRECTORY USERS CAN BROWSE INCLUDING ALL SUBDIRECTORIES
14
// relative to your physical Joomla root path ($mosConfig_absolute_path)!
14
// relative to your physical Joomla root path ($mosConfig_absolute_path)! or
15
// relative to your physical WordPress root path ( site_url() )!
15 16
// Please note: You currently can't exclude directories or files within
16 17
// the specified directory. All files and directories will be visible and downloadable
17 18
$subdir = '/dmdocuments';
trunk/webdav_authenticate.php
85 85
	die('401 Unauthorized');
86 86
	return FALSE;
87 87
}
88
?>
trunk/include/authentication/extplorer.php
185 185
		logout();
186 186
	}
187 187
} 
188
?>
trunk/include/copy_move.php
110 110

  
111 111
			}
112 112
			elseif(@get_is_dir($abs_item)) {
113
				$copy_dir = ext_isFTPMode() ? '/'.$dir.'/'.$abs_item['name'].'/' : $abs_item;
113
				$ext_copy_dir = ext_isFTPMode() ? '/'.$dir.'/'.$abs_item['name'].'/' : $abs_item;
114 114
				if( ext_isFTPMode() ) $abs_new_item .= '/';
115 115

  
116
				$ok=$GLOBALS['ext_File']->copy_dir( $copy_dir, $abs_new_item);
116
				$ok=$GLOBALS['ext_File']->ext_copy_dir( $ext_copy_dir, $abs_new_item);
117 117
			}
118 118
		}
119 119
		else {
trunk/include/users.php
88 88
	return save_users();
89 89
}
90 90
//------------------------------------------------------------------------------
91
function add_user($data) {
91
function ext_add_user($data) {
92 92
	if(find_user($data[0],NULL)) return false;
93 93

  
94 94
	$GLOBALS["users"][]=$data;
trunk/include/functions.php
425 425
	return $dir_links;
426 426
}
427 427
//------------------------------------------------------------------------------
428
function copy_dir($source,$dest) {		// copy dir
428
function ext_copy_dir($source,$dest) {		// copy dir
429 429
	$ok = true;
430 430
	$source = str_replace( '\\', '/', $source );
431 431
	$dest = str_replace( '\\', '/', $dest );
trunk/include/admin.php
318 318
			$GLOBALS['__POST']["show_hidden"],stripslashes($GLOBALS['__POST']["no_access"]),
319 319
			$GLOBALS['__POST']["permissions"],$GLOBALS['__POST']["active"]);
320 320

  
321
		if(!add_user($data)) {
321
		if(!ext_add_user($data)) {
322 322
			ext_Result::sendResult('adduser', false, $user.": ".$GLOBALS["error_msg"]["adduser"]);
323 323
		}
324 324
		ext_Result::sendResult('adduser', true, $user.": The user has been added");
trunk/webdav.php
78 78

  
79 79
# Real path of your site
80 80
$server->ServeRequest($GLOBALS["home_dir"]);
81

  
82
?>
trunk/libraries/File_Operations.php
86 86
	}
87 87

  
88 88

  
89
	function copy_dir($abs_item, $abs_new_item) {
89
	function ext_copy_dir($abs_item, $abs_new_item) {
90 90
		if (ext_isFTPMode()) {
91 91
			$tmp_dir = ext_ftp_make_local_copy($abs_item);
92 92
			$res = $GLOBALS['FTPCONNECTION']->putRecursive($tmp_dir, $abs_new_item);
93 93
			remove($tmp_dir);
94 94
			return $res;
95 95
		} else {
96
			return copy_dir($abs_item,$abs_new_item);
96
			return ext_copy_dir($abs_item,$abs_new_item);
97 97
		}
98 98
	}
99 99

  

Also available in: Unified diff