PluginProbe ʕ •ᴥ•ʔ
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery / 4.2.2
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery v4.2.2
4.2.2 4.2.1 trunk 3.32 3.33 3.34 3.35 3.36 3.37 3.38 3.39 3.41 3.50 3.52 3.53 3.54 3.55 3.56 3.57 3.58 3.59 3.59.1 3.59.10 3.59.11 3.59.12 3.59.2 3.59.3 3.59.4 3.59.5 3.59.6 3.59.7 3.59.8 3.59.9 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.1.0 4.1.1 4.1.2 4.1.3 4.2.0
nextgen-gallery / src / Legacy / ngg-config.php
nextgen-gallery / src / Legacy Last commit date
admin 1 week ago css 1 week ago fonts 1 week ago images 1 week ago lib 1 week ago static 1 week ago view 1 week ago xml 1 week ago ngg-config.php 1 week ago nggallery.php 1 week ago
ngg-config.php
34 lines
1 <?php
2 /**
3 * Bootstrap file for getting the ABSPATH constant to wp-load.php
4 * This is requried when a plugin requires access not via the admin screen.
5 *
6 * If the wp-load.php file is not found, then an error will be displayed
7 *
8 * @package WordPress
9 * @since Version 2.6
10 */
11
12 /** Define the server path to the file wp-config here, if you placed WP-CONTENT outside the classic file structure */
13
14 $path = ''; // It should be end with a trailing slash
15
16 /** That's all, stop editing from here */
17
18 if ( ! defined( 'WP_LOAD_PATH' ) ) {
19
20 $legacy_root = dirname( dirname( dirname( __DIR__ ) ) ) . '/';
21 $legacy_root = dirname( dirname( $legacy_root ) ) . '/';
22
23 if ( file_exists( $legacy_root . 'wp-load.php' ) ) {
24 define( 'WP_LOAD_PATH', $legacy_root );
25 defined( 'WP_ADMIN' ) && define( 'WP_ADMIN', true );
26 } elseif ( file_exists( $path . 'wp-load.php' ) ) {
27 define( 'WP_LOAD_PATH', $path );
28 } else {
29 throw new RuntimeException( 'Could not find wp-load.php' );
30 }
31 }
32
33 require_once WP_LOAD_PATH . 'wp-load.php';
34