NGG_MODULE_DIR

The NextGEN Gallery NGG MODULE DIR constant.

Value (string)

implode(DIRECTORY_SEPARATOR, array(rtrim(NGG_PRODUCT_DIR, "/\\"), 'photocrati_nextgen', 'modules')) 

Usage

  1. if ( defined( 'NGG_MODULE_DIR' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'NGG_MODULE_DIR' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

The constant is defined in the following location(s).

/nggallery.php  
  1. define('NGG_MODULE_DIR', implode(DIRECTORY_SEPARATOR, array(rtrim(NGG_PRODUCT_DIR, "/\\"), 'photocrati_nextgen', 'modules')));