瀏覽代碼

Fixed config.php

tags/v0.9
Savetheinternet 13 年之前
父節點
當前提交
284b3843c1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      inc/config.php

+ 3
- 3
inc/config.php 查看文件

@@ -67,8 +67,8 @@
define('URL_MATCH', '/^' . (@$_SERVER['HTTPS']?'https':'http').':\/\/'.$_SERVER['HTTP_HOST'] . '(\/|\/' . preg_quote(FILE_INDEX, '/') . '|\/' . str_replace('%d', '\d+', preg_quote(FILE_PAGE, '/')) . ')$/');
if(!file_exists(DIR_IMG)) mkdir(DIR_IMG);
if(!file_exists(DIR_THUMB)) mkdir(DIR_THUMB);
if(!file_exists(DIR_RES)) mkdir(DIR_RES);
if(!file_exists(DIR_IMG)) mkdir(DIR_IMG) or error("Couldn't create " . DIR_IMG . ". Install manually.");
if(!file_exists(DIR_THUMB)) mkdir(DIR_THUMB) or error("Couldn't create " . DIR_IMG . ". Install manually.");
if(!file_exists(DIR_RES)) mkdir(DIR_RES) or error("Couldn't create " . DIR_IMG . ". Install manually.");
?>

Loading…
取消
儲存