mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@464 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0a41787b97
commit
1349cf70ed
6 changed files with 9 additions and 70 deletions
|
|
@ -12,18 +12,9 @@
|
|||
**/
|
||||
function moduleInstall() {
|
||||
// file 모듈에서 사용할 디렉토리 생성
|
||||
$directory_list = array(
|
||||
'./files',
|
||||
'./files/attach',
|
||||
'./files/attach/images',
|
||||
'./files/attach/binaries',
|
||||
);
|
||||
FileHandler::makeDir('./files/attach/images');
|
||||
FileHandler::makeDir('./files/attach/binaries');
|
||||
|
||||
foreach($directory_list as $dir) {
|
||||
if(is_dir($dir)) continue;
|
||||
@mkdir($dir, 0707);
|
||||
@chmod($dir, 0707);
|
||||
}
|
||||
return new Object();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue