Monday, 26 September 2011

How get elgg base path

In elgg the global config variable is used
following code is used to get elgg base path

<?php
  global $CONFIG;
  echo $CONFIG->path;
?> 

0 comments:

Post a Comment