mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 23:31:44 +09:00
43 lines
1 KiB
PHP
43 lines
1 KiB
PHP
<?php
|
|
/**
|
|
* @class layout
|
|
* @author zero (zero@nzeo.com)
|
|
* @brief layout 모듈의 high class
|
|
**/
|
|
|
|
class layout extends ModuleObject {
|
|
|
|
/**
|
|
* @brief 설치시 추가 작업이 필요할시 구현
|
|
**/
|
|
function moduleInstall() {
|
|
// layout 에서 사용할 cache디렉토리 생성
|
|
$directory_list = array(
|
|
'./files',
|
|
'./files/cache',
|
|
'./files/cache/layout',
|
|
);
|
|
|
|
foreach($directory_list as $dir) {
|
|
if(is_dir($dir)) continue;
|
|
@mkdir($dir, 0707);
|
|
@chmod($dir, 0707);
|
|
}
|
|
return new Object();
|
|
}
|
|
|
|
/**
|
|
* @brief 설치가 이상이 없는지 체크하는 method
|
|
**/
|
|
function moduleIsInstalled() {
|
|
return new Object();
|
|
}
|
|
|
|
/**
|
|
* @brief 업데이트 실행
|
|
**/
|
|
function moduleUpdate() {
|
|
return new Object();
|
|
}
|
|
}
|
|
?>
|