[Projeler-commits] r157 - in vezir: . lib panel

projeler-uludag at uludag.org.tr projeler-uludag at uludag.org.tr
12 Ağu 2006 Cmt 20:47:22 EEST


Author: gokmen.goksel
Date: Sat Aug 12 20:47:22 2006
New Revision: 157

Modified:
   vezir/   (props changed)
   vezir/lib/vezir.php
   vezir/panel/index.php
Log:
ignore.panel.

Modified: vezir/lib/vezir.php
=================================================================
--- vezir/lib/vezir.php	(original)
+++ vezir/lib/vezir.php	Sat Aug 12 20:47:22 2006
@@ -19,6 +19,11 @@
                 #Set the variables
                 $this->DbLogDetail=$Conf["DbLogLevel"];
 
+                if (array_key_exists("Prefix",$Conf))
+                    $this->Prefix=$Conf["Prefix"];
+                if (array_key_exists("UsePrefix",$Conf))
+                    $this->UsePrefix=$Conf["UsePrefix"];
+
                 #Make Connection
                 $this->DbConnect($Conf["DbHost"],$Conf["DbUser"],$Conf["DbPass"],$Conf["DbData"]);
             }

Modified: vezir/panel/index.php
=================================================================
--- vezir/panel/index.php	(original)
+++ vezir/panel/index.php	Sat Aug 12 20:47:22 2006
@@ -37,6 +37,10 @@
             $Message = USERNAME_OR_PASSWORD_WRONG;
     }
 
+    #if any Vezir errors show them.
+    if ($Vezir)
+        $Vezir->ShowLogs();
+
     #Get template file
     include_once('template/login/index.tmpl');
 


Projeler-commits mesaj listesiyle ilgili daha fazla bilgi