Path Setting

ckeditor/config.js

	config.filebrowserBrowseUrl = 'ckfinder/ckfinder.html';
	config.filebrowserImageBrowseUrl = 'ckfinder/ckfinder.html?Type=Images';
	//config.filebrowserFlashBrowseUrl = 'ckfinder/ckfinder.html?Type=Flash';
	config.filebrowserUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files'; //可上傳一般檔案
	config.filebrowserImageUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';//可上傳圖檔
	//config.filebrowserFlashUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';//可上傳Flash檔案

 

ckfinder/core/connector/php/constants.php

define('CKFINDER_CONNECTOR_DEFAULT_USER_FILES_PATH',"./../../../../uploads/ckfinder/");

 

ckfinder/config.php

$tmp_url = dirname($_SERVER['PHP_SELF']);
$p = strpos($tmp_url, '/admin');
$tmp_url = substr($tmp_url, 0, $p);
$baseUrl = $tmp_url . '/uploads/';
$upload_url = $baseUrl . 'ckfinder/';


$baseDir = resolveUrl($baseUrl);
$upload_dir = $baseDir . 'ckfinder/';

 

13 thoughts on “Path Setting

  1. This is the perfect blog for any individual who wants to discover about this topic. You understand so much its just about hard to argue with you (not that I in fact would want?-HaHa). You surely put a brand new spin on a subject thats been written about for years. Great stuff, just fantastic!

    bailey button triplet

  2. Youre so cool! I dont suppose Ive read something like this ahead of. So nice to come across somebody with some original thoughts on this topic. realy thank you for starting this up. this website is some thing which is needed on the internet, a person having a small originality. useful job for bringing something new to the world wide web!

    michael kors bags outlet

  3. Oh my goodness! an fantastic write-up dude. Thank you Having said that I’m experiencing concern with ur rss . Don’t know why Unable to subscribe to it. Is there any individual finding identical rss difficulty? Any individual who knows kindly respond. Thnkx

    jordans shoes

  4. I was especially pleased to discover this web-site.I wanted to thanks for your time for this superb read!! I definitely enjoying just about every little bit of it and I’ve you bookmarked to take a look at new stuff you blog post.

    air jordans

  5. Good day! I could have sworn I’ve visited this site before but after browsing through some of the articles I realized it’s new to me.
    Nonetheless, I’m definitely pleased I came across it and I’ll be bookmarking it and checking back regularly!

Comments are closed.