Skip to content

Instantly share code, notes, and snippets.

@abfan1127
Created July 12, 2016 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abfan1127/a6b9db7ea61c773c97c022158786558b to your computer and use it in GitHub Desktop.
Save abfan1127/a6b9db7ea61c773c97c022158786558b to your computer and use it in GitHub Desktop.
fckeditor config check
<?php
require(realpath(__DIR__ . '/../../../../../../vendor/autoload.php'));
require('./config.php') ;
require('./util.php') ;
require('./io.php') ;
require('./basexml.php') ;
require('./commands.php') ;
require('./phpcompat.php') ;
if ( !$Config['Enabled'] ) {
SendError( 1, 'This connector is disabled. Please check the "editor/filemanager/connectors/php/config.php" file' ) ;
}
DoResponse() ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment