mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 11:52:14 +09:00
#18960935 : added mobile configuration in module
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7537 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5268e17aab
commit
be1d9e25d2
6 changed files with 20 additions and 0 deletions
|
|
@ -74,6 +74,9 @@
|
|||
if($oDB->isIndexExists('sites', 'idx_domain')) return true;
|
||||
if(!$oDB->isIndexExists('sites','unique_domain')) return true;
|
||||
|
||||
if(!$oDB->isColumnExists("modules", "use_mobile")) return true;
|
||||
if(!$oDB->isColumnExists("modules", "mlayout_srl")) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -298,6 +301,13 @@
|
|||
$oDB->addIndex('sites','unique_domain',array('domain'),true);
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists("modules", "use_mobile")) {
|
||||
$oDB->addColumn('modules','use_mobile','char',1,'N');
|
||||
}
|
||||
if(!$oDB->isColumnExists("modules", "mlayout_srl")) {
|
||||
$oDB->addColumn('modules','mlayout_srl','number',11, 0);
|
||||
}
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue