Permalink
Browse files

Removed closing PHP tags

  • Loading branch information...
vokiel committed Sep 3, 2015
1 parent b43d33d commit 74ac365bfd77a1ca0da59c87dfddb635c5f6a60a
@@ -96,4 +96,3 @@ function SendErrorNode( $number, $text )
else
echo '<Error number="' . $number . '" />' ;
}
?>
@@ -281,4 +281,3 @@ function FileUpload( $resourceType, $currentFolder, $sCommand )
exit ;
}
?>
@@ -92,4 +92,3 @@ function DoResponse()
exit ;
}
?>
@@ -315,5 +315,3 @@ function SendUploadResults( $errorNumber, $fileUrl = '', $fileName = '', $custom
}
exit ;
}
?>
@@ -33,10 +33,10 @@ function SendError( $number, $text )
SendUploadResults( $number, '', '', $text ) ;
}
// Check if this uploader has been enabled.
if ( !$Config['Enabled'] )
SendUploadResults( '1', '', '', 'This file uploader is disabled. Please check the "editor/filemanager/connectors/php/config.php" file' ) ;
if ( !$Config['Enabled'] ) {
SendUploadResults( '1', '', '', 'This file uploader is disabled. Please check the "editor/filemanager/connectors/php/config.php" file' );
}
$sCommand = 'QuickUpload' ;
@@ -46,14 +46,13 @@ function SendError( $number, $text )
$sCurrentFolder = "/" ;
// Is enabled the upload?
if ( ! IsAllowedCommand( $sCommand ) )
SendUploadResults( '1', '', '', 'The requested command isn\'t allowed' ) ;
if ( ! IsAllowedCommand( $sCommand ) ) {
SendUploadResults( '1', '', '', 'The requested command isn\'t allowed' );
}
// Check if it is an allowed type.
if ( !IsAllowedType( $sType ) )
SendUploadResults( 1, '', '', 'Invalid type specified' ) ;
FileUpload( $sType, $sCurrentFolder, $sCommand )
if ( !IsAllowedType( $sType ) ) {
SendUploadResults( 1, '', '', 'Invalid type specified' );
}
?>
FileUpload( $sType, $sCurrentFolder, $sCommand );
@@ -216,5 +216,3 @@ function IsImageValid( $filePath, $extension )
return true;
}
?>
@@ -71,5 +71,3 @@ function add_ckeditor_buttons($buttons) {
// Call it now
$ckeditor_button = new add_ckeditor_button ();
?>

0 comments on commit 74ac365

Please sign in to comment.