#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:
haneul 2010-06-21 04:54:56 +00:00
parent c797d3a294
commit e6c40ada52
22 changed files with 185 additions and 10 deletions

View file

@ -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');
}