.

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

Go to the source code of this file.

Functions

  javascript_jquery_check_preconditions ()

Function Documentation

javascript_jquery_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.jquery') . 'data/' . Config::get_value(ConfigJQuery::VERSION) . '/';
00006         $ret->merge(SystemUpdateInstaller::copy_to_webroot($root, array('js'), SystemUpdateInstaller::COPY_OVERWRITE));
00007         return $ret;
00008 }