mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 15:32:54 +01:00
Fix all include_once() call with __DIR__
-based paths.
This commit is contained in:
parent
99943002b5
commit
b82d0c24b9
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
include_once("web_functions.inc.php");
|
||||
include_once("ldap_functions.inc.php");
|
||||
include_once("module_functions.inc.php");
|
||||
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/module_functions.inc.php";
|
||||
set_page_access("admin");
|
||||
|
||||
render_header("LDAP manager");
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
include_once("web_functions.inc.php");
|
||||
include_once("ldap_functions.inc.php");
|
||||
include_once("module_functions.inc.php");
|
||||
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/module_functions.inc.php";
|
||||
|
||||
if ( $_POST['setup_admin_account'] ) {
|
||||
$admin_setup = TRUE;
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
include_once("web_functions.inc.php");
|
||||
include_once("ldap_functions.inc.php");
|
||||
include_once("module_functions.inc.php");
|
||||
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/module_functions.inc.php";
|
||||
set_page_access("admin");
|
||||
|
||||
render_header("LDAP manager");
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
include_once("web_functions.inc.php");
|
||||
include_once("ldap_functions.inc.php");
|
||||
include_once("module_functions.inc.php");
|
||||
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/module_functions.inc.php";
|
||||
set_page_access("admin");
|
||||
|
||||
render_header();
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
include_once __DIR__ . "/web_functions.inc.php";
|
||||
include_once __DIR__ . "/ldap_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
|
||||
set_page_access("user");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user