mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
세션 디렉토리를 별도로 생성시 생성이 성공적으로 되었을 경우에만 세션 디렉토리를 변경하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2623 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3c762a4ca1
commit
69df46cbf1
1 changed files with 2 additions and 2 deletions
|
|
@ -92,9 +92,9 @@
|
|||
ini_set("session.gc_maxlifetime", "18000");
|
||||
if(!is_dir("./files/sessions")) {
|
||||
FileHandler::makeDir("./files/sessions");
|
||||
chmod("./files/sessions", 0777);
|
||||
@chmod("./files/sessions", 0777);
|
||||
}
|
||||
session_save_path(realpath('.')."/files/sessions/");
|
||||
if(is_dir("./files/sessions")) session_save_path(realpath('.')."/files/sessions/");
|
||||
session_start();
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue