[Vtigercrm-commits] [vtiger-commits] r7931 - /vtigercrm/trunk/index.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Jul 10 08:03:35 EDT 2006


Author: richie
Date: Mon Jul 10 06:03:32 2006
New Revision: 7931

Log:
issue in index.php has been fixed

Modified:
    vtigercrm/trunk/index.php

Modified: vtigercrm/trunk/index.php
==============================================================================
--- vtigercrm/trunk/index.php (original)
+++ vtigercrm/trunk/index.php Mon Jul 10 06:03:32 2006
@@ -125,13 +125,13 @@
 {
 	$module = $_REQUEST['module'];	
 
-	if ($dir = @opendir("./modules")) 
+	if ($dir = @opendir($root_directory."modules")) 
 	{
 		while (($file = readdir($dir)) !== false) 
 		{
            		if ($file != ".." && $file != "." && $file != "CVS" && $file != "Attic") 
 			{
-			   	if(is_dir("./modules/".$file)) 
+			   	if(is_dir($root_directory."modules/".$file)) 
 				{
 					if(!($file[0] == '.')) 
 					{





More information about the vtigercrm-commits mailing list