Skip to main content
5 events
when toggle format what by license comment
Dec 15, 2014 at 17:11 comment added RobotEyes ah yes. It works with DRUPAL_ROOT if I take off the trailing slash and add a leading slash. $dir = DRUPAL_ROOT . '/sites/all/libraries';
Dec 15, 2014 at 17:11 history edited sareed CC BY-SA 3.0
added working code
Dec 15, 2014 at 17:06 comment added sareed Is there a trailing slash on $dir?
Dec 15, 2014 at 16:58 comment added RobotEyes Using DRUPAL_ROOT instead of base_path() fixes the path but there is a double slash in the file uri now (see my edit) thanks
Dec 15, 2014 at 16:46 history answered sareed CC BY-SA 3.0