27 require(
'./config.php') ;
28 require(
'./util.php') ;
30 require(
'./basexml.php') ;
31 require(
'./commands.php') ;
32 require(
'./phpcompat.php') ;
35 SendError( 1,
'This connector is disabled. Please check the "editor/filemanager/connectors/php/config.php" file' ) ;
44 if ( !isset( $_GET[
'Command'] ) || !isset( $_GET[
'Type'] ) || !isset( $_GET[
'CurrentFolder'] ) )
49 $sResourceType = $_GET[
'Type'] ;
54 SendError( 1,
'The requested command isn\'t allowed' ) ;
58 SendError( 1,
'Invalid type specified' ) ;
75 case 'GetFoldersAndFiles' :
CreateXmlHeader($command, $resourceType, $currentFolder)
SendError($number, $text)
GetFolders($resourceType, $currentFolder)
GetFoldersAndFiles($resourceType, $currentFolder)
IsAllowedCommand($sCommand)
IsAllowedType($resourceType)
CreateFolder($resourceType, $currentFolder)
FileUpload($resourceType, $currentFolder, $sCommand)