.

contributions/css.yaml/install/check_preconditions.php File Reference

Go to the source code of this file.

Functions

  css_yaml_check_preconditions ()

Function Documentation

css_yaml_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('css.yaml') . 'data/' . Config::get_value(ConfigYAML::YAML_VERSION) . '/';
00006         $ret->merge(SystemUpdateInstaller::copy_to_webroot($root, array('yaml'), SystemUpdateInstaller::COPY_OVERWRITE));
00007         $ret->merge(SystemUpdateInstaller::copy_to_webroot($root, array('css'), SystemUpdateInstaller::COPY_NO_REPLACE));
00008         return $ret;
00009 }