Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-04-09 09:43:14 +09:00
3 changed files with 5 additions and 4 deletions

View File

@ -27,9 +27,9 @@ include_once('./admin.head.php');
if (is_array($files)) { if (is_array($files)) {
$before_time = G4_SERVER_TIME - 3600; // 한시간전 $before_time = G4_SERVER_TIME - 3600; // 한시간전
foreach ($files as $gcaptcha_file) { foreach ($files as $gcaptcha_file) {
$access_time = fileatime($gcaptcha_file); // 파일접근시간 $modification_time = filemtime($gcaptcha_file); // 파일접근시간
if ($access_time > $before_time) continue; if ($modification_time > $before_time) continue;
$cnt++; $cnt++;
unlink($gcaptcha_file); unlink($gcaptcha_file);

View File

@ -102,7 +102,7 @@ if (file_exists($dbconfig_file)) {
<html lang="ko"> <html lang="ko">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>오류! 그누보드4S 설치하기</title> <title>오류! 그누보드4s 설치하기</title>
<style> <style>
body {background:#f7f7f2} body {background:#f7f7f2}
h1 {margin:50px auto 30px;width:540px;color:#ff3061;font-size:1.4em} h1 {margin:50px auto 30px;width:540px;color:#ff3061;font-size:1.4em}
@ -119,7 +119,7 @@ div a {display:block;margin:50px auto 10px;width:170px;text-align:center}
<li><strong><?=G4_DATA_DIR.'/'.G4_DBCONFIG_FILE?></strong></li> <li><strong><?=G4_DATA_DIR.'/'.G4_DBCONFIG_FILE?></strong></li>
</ul> </ul>
<p>프로그램 설치 후 실행하시기 바랍니다.</p> <p>프로그램 설치 후 실행하시기 바랍니다.</p>
<a href="./install/">그누보드4S 설치하기</a> <a href="./install/">그누보드4s 설치하기</a>
</div> </div>
</body> </body>
</html> </html>

View File

@ -61,6 +61,7 @@ if (!is_dir($data_path))
<p>루트 디렉토리에 아래로 <?=G4_DATA_DIR?> 디렉토리를 생성하여 주십시오.<br /> <p>루트 디렉토리에 아래로 <?=G4_DATA_DIR?> 디렉토리를 생성하여 주십시오.<br />
(common.php 파일이 있는곳이 루트 디렉토리 입니다.)<br /><br /> (common.php 파일이 있는곳이 루트 디렉토리 입니다.)<br /><br />
$> mkdir <?=G4_DATA_DIR?><br /><br /> $> mkdir <?=G4_DATA_DIR?><br /><br />
윈도우의 경우 data 폴더를 하나 생성해 주시기 바랍니다.<br /><br />
위 명령 실행후 브라우저를 새로고침 하십시오.</p> 위 명령 실행후 브라우저를 새로고침 하십시오.</p>
<? <?
$exists_data_dir = false; $exists_data_dir = false;