Changeset 677
- Timestamp:
- 08/17/07 16:41:49 (6 years ago)
- Location:
- FCKeditor/trunk/editor/filemanager/connectors/php
- Files:
-
- 1 added
- 4 edited
-
commands.php (modified) (2 diffs)
-
connector.php (modified) (2 diffs)
-
io.php (modified) (2 diffs)
-
phpcompat.php (added)
-
upload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/filemanager/connectors/php/commands.php
r413 r677 104 104 function CreateFolder( $resourceType, $currentFolder ) 105 105 { 106 if (!isset($_GET)) { 107 global $_GET; 108 } 106 109 $sErrorNumber = '0' ; 107 110 $sErrorMsg = '' ; … … 152 155 function FileUpload( $resourceType, $currentFolder, $sCommand ) 153 156 { 157 if (!isset($_FILES)) { 158 global $_FILES; 159 } 154 160 $sErrorNumber = '0' ; 155 161 $sFileName = '' ; -
FCKeditor/trunk/editor/filemanager/connectors/php/connector.php
r413 r677 30 30 require('./basexml.php') ; 31 31 require('./commands.php') ; 32 require('./phpcompat.php') ; 32 33 33 34 if ( !$Config['Enabled'] ) … … 38 39 function DoResponse() 39 40 { 41 if (!isset($_GET)) { 42 global $_GET; 43 } 40 44 if ( !isset( $_GET['Command'] ) || !isset( $_GET['Type'] ) || !isset( $_GET['CurrentFolder'] ) ) 41 45 return ; -
FCKeditor/trunk/editor/filemanager/connectors/php/io.php
r413 r677 133 133 function GetRootPath() 134 134 { 135 if (!isset($_SERVER)) { 136 global $_SERVER; 137 } 135 138 $sRealPath = realpath( './' ) ; 136 139 … … 203 206 function GetCurrentFolder() 204 207 { 208 if (!isset($_GET)) { 209 global $_GET; 210 } 205 211 $sCurrentFolder = isset( $_GET['CurrentFolder'] ) ? $_GET['CurrentFolder'] : '/' ; 206 212 -
FCKeditor/trunk/editor/filemanager/connectors/php/upload.php
r413 r677 27 27 require('./io.php') ; 28 28 require('./commands.php') ; 29 require('./phpcompat.php') ; 29 30 30 31 // Check if this uploader has been enabled.
Note: See TracChangeset
for help on using the changeset viewer.
