NGGALLERY_ABSPATH

The NextGEN Gallery NGGALLERY ABSPATH constant.

Value (string)

defined('NGG_LEGACY_MOD_DIR') ? 
rtrim(NGG_LEGACY_MOD_DIR, "/\\").DIRECTORY_SEPARATOR : 
rtrim(dirname(__FILE__), "/\\").DIRECTORY_SEPARATOR 

Usage

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

Defined (1)

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

/products/photocrati_nextgen/modules/ngglegacy/nggallery.php  
  1. define(