Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
6.x-1.1-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2008 at 08:30 UTC
Updated:
25 Jun 2008 at 09:27 UTC
is it possible to set the config.php using the drupal shorthands such as %u ?
im trying to think of a way of enabling each of my users with a private folder for his media&files.
Comments
Comment #1
wwalc commentedIn modules\fckeditor\fckeditor\editor\filemanager\connectors\php\config.php after including filemanager.config.php you have access to Drupal session/variables.
You can't use the Drupal shorthand in config file directly, however you can use the
$userobject.For example to get user id, use
$user->uid.Actually, if you really want to use shorthand notation, there is a way to do it, simply assign the shortened path and then replace it with the correct values:
Comment #2
Jorrit commented