mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
GIF → MP4 더 완벽하게...
This commit is contained in:
parent
1ac14a6964
commit
1fcba0a44c
7 changed files with 194 additions and 109 deletions
|
|
@ -85,7 +85,14 @@ class file extends ModuleObject
|
|||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists('files', 'original_filename'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if(!$oDB->isColumnExists('files', 'thumbnail_filename'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -161,6 +168,14 @@ class file extends ModuleObject
|
|||
{
|
||||
$oModuleController->insertTrigger('comment.copyCommentByDocument', 'file', 'controller', 'triggerAddCopyCommentByDocument', 'add');
|
||||
}
|
||||
if(!$oDB->isColumnExists('files', 'original_filename'))
|
||||
{
|
||||
$oDB->addColumn('files', 'original_filename', 'varchar', '250');
|
||||
}
|
||||
if(!$oDB->isColumnExists('files', 'thumbnail_filename'))
|
||||
{
|
||||
$oDB->addColumn('files', 'thumbnail_filename', 'varchar', '250');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue