From 3f8b6fbd121d9ca3831effd0ab56d521e8d918f1 Mon Sep 17 00:00:00 2001
From: alvaro <alvaro@graves.cl>
Date: Sun, 12 May 2013 02:13:21 -0700
Subject: [PATCH] small bug

---
 classes/Utils.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/classes/Utils.php b/classes/Utils.php
index 7464b88f..bad2274f 100644
--- a/classes/Utils.php
+++ b/classes/Utils.php
@@ -471,8 +471,9 @@ class Utils{
   	  }
   	}else{
   	  if(strpos('endpoint.', $modelFile) == 0){
-  	  	
-  	  	Logging::log("$modelFile is a directory, will process it later", E_USER_NOTICE);
+  	  	if($conf['debug']){
+    	  	Logging::log("$modelFile is a directory, will process it later", E_USER_NOTICE);
+    	  }
   	  	if($modelFile != $lodspk['type']){
   	  	  if(!isset($rPointer[$strippedModelFile])){
   	  	  	$rPointer[$strippedModelFile] = array();
-- 
GitLab