Переглянути джерело

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

Yannick Warnier 8 роки тому
батько
коміт
7dc4e5740e
1 змінених файлів з 2 додано та 0 видалено
  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;