From 37aa55a47212e6cd662f619f3672a8b82722fe3e Mon Sep 17 00:00:00 2001 From: Sudarshan Anbazhagan Date: Thu, 8 Jan 2015 01:52:22 +0530 Subject: [PATCH 1/2] updated maximum length of the server hostname most of the urls I have are very long and it needs to have a larger value. 100 is simply not enough --- src/psm/Util/Install/Installer.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psm/Util/Install/Installer.class.php b/src/psm/Util/Install/Installer.class.php index 63e05e79..3fc9e375 100644 --- a/src/psm/Util/Install/Installer.class.php +++ b/src/psm/Util/Install/Installer.class.php @@ -210,7 +210,7 @@ class Installer { ) ENGINE=MyISAM DEFAULT CHARSET=utf8;", PSM_DB_PREFIX . 'servers' => "CREATE TABLE `" . PSM_DB_PREFIX . "servers` ( `server_id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `ip` varchar(100) NOT NULL, + `ip` varchar(500) NOT NULL, `port` int(5) unsigned NOT NULL, `label` varchar(255) NOT NULL, `type` enum('service','website') NOT NULL default 'service', From 62c9822ee99a8f6e0328d64ae628d97defd06e8e Mon Sep 17 00:00:00 2001 From: Sudarshan Anbazhagan Date: Thu, 8 Jan 2015 01:53:47 +0530 Subject: [PATCH 2/2] increased maximum limit to for server ip to 500 --- src/templates/default/module/server/server/update.tpl.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/default/module/server/server/update.tpl.html b/src/templates/default/module/server/server/update.tpl.html index 5dcd46d6..7f50c082 100644 --- a/src/templates/default/module/server/server/update.tpl.html +++ b/src/templates/default/module/server/server/update.tpl.html @@ -10,7 +10,7 @@
- +
@@ -103,4 +103,4 @@ {{ label_go_back }}
- \ No newline at end of file +