浏览代码

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;