윈도우 환경에서 퍼미션체크 무력화
This commit is contained in:
@ -67,6 +67,7 @@ if (!is_dir($data_path))
|
|||||||
|
|
||||||
<?
|
<?
|
||||||
// data 디렉토리에 파일 생성 가능한지 검사.
|
// data 디렉토리에 파일 생성 가능한지 검사.
|
||||||
|
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
|
||||||
if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data_path)))
|
if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data_path)))
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
@ -76,4 +77,5 @@ if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data
|
|||||||
<?
|
<?
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user