[Vtigercrm-commits] [vtiger-commits] r11166 - /vtigercrm/branches/5.0.3/install/2setConfig.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 31 03:47:42 EDT 2007
Author: jerrydgeorge
Date: Thu May 31 01:47:35 2007
New Revision: 11166
Log:
Localhost Issue in The SiteURL During Installtion Has been fixed
Modified:
vtigercrm/branches/5.0.3/install/2setConfig.php
Modified: vtigercrm/branches/5.0.3/install/2setConfig.php
==============================================================================
--- vtigercrm/branches/5.0.3/install/2setConfig.php (original)
+++ vtigercrm/branches/5.0.3/install/2setConfig.php Thu May 31 01:47:35 2007
@@ -292,7 +292,22 @@
return false;
}
- form.submit();
+ var SiteUrl = form.site_URL.value;
+ if(SiteUrl.indexOf("localhost") > -1 && SiteUrl.indexOf("localhost") < 10)
+ {
+ if(confirm("Speicfy the exact host name instead of \"localhost\" in Site URL field, otherwise you will experience some issues while working with vtiger plug-ins. Do you wish to Continue?"))
+ {
+ form.submit();
+ }else
+ {
+ form.site_URL.select();
+ return false;
+ }
+ }else
+ {
+ form.submit();
+ }
+
}
// end hiding contents from old browsers -->
</script>
More information about the vtigercrm-commits
mailing list