Bladeren bron

Minor - Set a default value for $templatewwwroot in vChamilo plugin and add documentation

Yannick Warnier 8 jaren geleden
bovenliggende
commit
7dc4e5740e
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      plugin/vchamilo/lib/Virtual.php

+ 2 - 0
plugin/vchamilo/lib/Virtual.php

@@ -542,6 +542,8 @@ class Virtual
     */
     public static function getVmanifest($version)
     {
+        $templatewwwroot = '';
+        // Define the $templatewwwroot content, found in manifest.php for this template
         $file = api_get_path(SYS_PATH).'/plugin/vchamilo/templates/'.$version.'/manifest.php';
         if (file_exists($file)) {
             include $file;