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@411 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d915912c41
commit
13c860a959
40 changed files with 1695 additions and 9 deletions
43
modules/plugin/layout.class.php
Normal file
43
modules/plugin/layout.class.php
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<?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();
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue