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

pull/2487/head
Yannick Warnier 9 years ago
parent 80bab53d62
commit 7dc4e5740e
  1. 2
      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;

Loading…
Cancel
Save