Using FCKEditor 2.x for PHP
==========================
Here's the problem:
I am using a symlink script to pull instances of FCKEditor into directories along variable paths. For example:
http://www.mywebsite.com/state1/countyA ... /index.php
http://www.mywebsite.com/state2/countyB ... /index.php
http://www.mywebsite.com/state3/countyC ... /index.php
http://www.mywebsite.com/state4/countyD ... /index.php
(The business directory is where the FCKEditor instance is pulled into with a symlink for the user to access via "/business/admin.php")
I understand that I can set 'UserFilesAbsolutePath' with a hard path as such...
$Config['UserFilesAbsolutePath'] = '/home/XXXXX/public_html/state1/countyA/business/index.php' ;
BUT, I'm using a symlink. The actual FCKEditor application reside above the root (above public_html) on my server and is being pulled into /business/ with a symlink, so how the heck do I write the 'UserFilesAbsolutePath' paths correctly to find the correct /image/ and /bodyCopy/ directories associated with each individual account?
NOTE: I used to use subdomains and wrote the 'UserFilesAbsolutePath' like this:
$Config['UserFilesAbsolutePath'] = '/home/hothost/public_html/' . $subdomain . '/';
That worked fine. Now, I am NOT using subdomains and AM using longer variable paths to client accounts. Anyone have a solution?
Thanks for your help in advance.
Best,
JET
-
Sat, 09/11/2010 - 17:23
#1