提交 e307b72e 编写于 作者: lzc828's avatar lzc828

755

上级 53274aeb
......@@ -16,7 +16,7 @@ class File extends Cache
private function mkdir()
{
if (!is_dir(self::$conf['path'])) {
mkdir(self::$conf['path'], 0644, true);
mkdir(self::$conf['path'], 0755, true);
}
}
......
......@@ -71,7 +71,7 @@ class Log
private function _log($mixed, $k = 0, $code = 3, $prefix = 'vic')
{
if (!is_dir(self::$conf['path'])) {
mkdir(self::$conf['path'], 0644, true);
mkdir(self::$conf['path'], 0755, true);
}
$path = self::$conf['path'] . '/' . $prefix . '-' . date('Y-m-d') . '.log';
if (is_string($mixed)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册