mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
#18953798 : manage mobile layouts
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7524 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c797d3a294
commit
e6c40ada52
22 changed files with 185 additions and 10 deletions
|
|
@ -33,6 +33,8 @@
|
|||
if(preg_match('/([0-9]+)\.html/i',$filename)) return true;
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists('layouts', 'layout_type')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -61,6 +63,10 @@
|
|||
@unlink('./files/cache/layout/'.$filename);
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists('layouts', 'layout_type')) {
|
||||
$oDB->addColumn('layouts','layout_type','char',1,'P',true);
|
||||
}
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue