.

contributions/javascript.wymeditor/install/check_preconditions.php File Reference

Go to the source code of this file.

Functions

  javascript_wymeditor_check_preconditions ()

Function Documentation

javascript_wymeditor_check_preconditions (  ) 

Definition at line 2 of file check_preconditions.php.

00002                                                     {
00003         $ret = new Status();
00004         Load::components('systemupdateinstaller');
00005         $root = Load::get_module_dir('javascript.wymeditor') . 'data/';
00006         $ret->merge(SystemUpdateInstaller::copy_to_webroot($root, array('js'), SystemUpdateInstaller::COPY_OVERWRITE));
00007         $ret->merge(SystemUpdateInstaller::copy_to_webroot($root, array('css'), SystemUpdateInstaller::COPY_NO_REPLACE));
00008         return $ret;
00009 }