You are here

function _fckeditor_requirements_isinstalled in FCKeditor - WYSIWYG HTML editor 6.2

Determines whether the FCKeditor sources are present

It checks if fckeditor.js is present.

This function is used by fckeditor_requirements()

Return value

boolean True if FCKeditor is installed

1 call to _fckeditor_requirements_isinstalled()
fckeditor_requirements in ./fckeditor.install
Implementation of hook_requirements().

File

./fckeditor.install, line 276

Code

function _fckeditor_requirements_isinstalled() {
  module_load_include('module', 'fckeditor');
  $editor_path = fckeditor_path(TRUE);
  $jspath = $editor_path . '/fckeditor.js';
  return file_exists($jspath);
}