Commit 5e42330e authored by zw's avatar zw

bug

parent 7175b97e
......@@ -66,7 +66,7 @@ Examples:
ATTENTION: The trailing slash is required.
*/
//$base_url = 'http://' . $_SERVER['HTTP_HOST'];
$base_url = 'https://images.tonglianjituan.com';
$base_url = 'http://images.tonglianjituan.com';
$ckfinder_url = '/resource/lib/Attachments/';
......@@ -91,15 +91,16 @@ Examples:
ATTENTION: The trailing slash is required.
*/
$ckfinder_dir = dirname(__FILE__);
/*$ckfinder_dir = dirname(__FILE__);
//todo bug
$project_dir = str_replace('\\','/',realpath($ckfinder_dir . '/../..'));
$attachments_dir = $project_dir . '/lib/Attachments/';
$attachments_dir = $project_dir . '/lib/Attachments/';*/
$baseDir = $attachments_dir;
//$baseDir = resolveUrl($baseUrl);
//$baseDir = $attachments_dir;
$baseDir = $baseUrl;
$baseDir = resolveUrl($baseUrl);
$config['Resource_Root_Dir'] = $baseDir;
/* 资源空间大小
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment