diff --git a/app/libs/vecni/Vecni.php b/app/libs/vecni/Vecni.php index c3e53e9..3b6b895 100755 --- a/app/libs/vecni/Vecni.php +++ b/app/libs/vecni/Vecni.php @@ -117,8 +117,10 @@ public static function in_development(){ return false; } - public static function get_submodules(){ + public static function get_submodules($missing_plugin=""){ $req_copy = self::getRootFolder().'app/configs/hooks into '.self::getRootFolder().'git/hooks/'; + if(!empty($missing_plugin)) + echo "
Missing plugin $missing_plugin.
"; ?>
git submodule update --init
@@ -139,7 +141,7 @@ public static function enable_error_reporting($display_error = true, $override_d
require_once $php_error_file;
\php_error\reportErrors();
}else{
- self::get_submodules();
+ self::get_submodules("PHPError");
}
ini_set('html_errors',1);
}else{
@@ -170,7 +172,7 @@ public static function twig_loader(){
#allow call to static functions.
self::$twig->addFunction('staticCall', new \Twig_Function_Function('staticCall'));
}else{
- self::get_submodules();
+ self::get_submodules("Twig");
}
}
@@ -201,7 +203,7 @@ public static function use_less(){
chmod($css_file, 0777);
return $less;
}else{
- self::get_submodules();
+ self::get_submodules("Less");
}
}
@@ -215,7 +217,7 @@ public static function email_loader(){
$mailer->WordWrap = 70;
return $mailer;
}else{
- self::get_submodules();
+ self::get_submodules("PHPMailer");
}
}
@@ -385,3 +387,4 @@ public static function url_for($url_fn){
}
}
?>
+