mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 02:10:02 +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,25 +12,7 @@
|
|||
**/
|
||||
function moduleInstall() {
|
||||
// plugin 에서 사용할 cache디렉토리 생성
|
||||
$directory_list = array(
|
||||
'./files',
|
||||
'./files/cache',
|
||||
'./files/cache/page',
|
||||
);
|
||||
|
||||
foreach($directory_list as $dir) {
|
||||
if(is_dir($dir)) continue;
|
||||
@mkdir($dir, 0707);
|
||||
@chmod($dir, 0707);
|
||||
}
|
||||
|
||||
// page 모듈로 모듈 추가
|
||||
$oModuleController = &getController('module');
|
||||
$args->mid = 'pagemaker';
|
||||
$args->module = 'pagemaker';
|
||||
$args->browser_title = 'pagemaker';
|
||||
$args->is_default = 'N';
|
||||
$output = $oModuleController->insertModule($args);
|
||||
FileHandler::makeDir('./files/cache/page');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue