Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated: QloApps installation max URL length from 64 to 256 #1254

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions classes/shop/ShopUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class ShopUrlCore extends ObjectModel
'domain' => array('type' => self::TYPE_STRING, 'required' => true, 'size' => 255, 'validate' => 'isCleanHtml'),
'domain_ssl' => array('type' => self::TYPE_STRING, 'size' => 255, 'validate' => 'isCleanHtml'),
'id_shop' => array('type' => self::TYPE_INT, 'required' => true),
'physical_uri' => array('type' => self::TYPE_STRING, 'size' => 64),
'virtual_uri' => array('type' => self::TYPE_STRING, 'size' => 64),
'physical_uri' => array('type' => self::TYPE_STRING, 'size' => 256),
'virtual_uri' => array('type' => self::TYPE_STRING, 'size' => 256),
),
);

Expand Down
4 changes: 2 additions & 2 deletions install/data/db_structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2162,8 +2162,8 @@ CREATE TABLE IF NOT EXISTS `PREFIX_shop_url` (
`id_shop` int(11) unsigned NOT NULL,
`domain` varchar(150) NOT NULL,
`domain_ssl` varchar(150) NOT NULL,
`physical_uri` varchar(64) NOT NULL,
`virtual_uri` varchar(64) NOT NULL,
`physical_uri` varchar(256) NOT NULL,
`virtual_uri` varchar(256) NOT NULL,
`main` TINYINT(1) NOT NULL,
`active` TINYINT(1) NOT NULL,
PRIMARY KEY (`id_shop_url`),
Expand Down