JohnnyGamba on 01/28/11
Last Edited at 01/28/11 10:03am
# In any hook_init().drupal_add_js(array( 'citris' => array( 'basePath' => base_path(), ), ), 'setting'); #In any js inside Drupaluri = Drupal.settings.citris.basePath + "mypath";
Report this snippet Tweet
Comment:
You need to login to post a comment.