mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 23:42:54 +01:00
Use __DIR__ to avoid include_path dependency.
This commit is contained in:
parent
79ac66c96f
commit
99943002b5
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
include_once("web_functions.inc.php");
|
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||||
include_once("ldap_functions.inc.php");
|
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||||
include_once("module_functions.inc.php");
|
include_once __DIR__ . "/../includes/module_functions.inc.php";
|
||||||
set_page_access("admin");
|
set_page_access("admin");
|
||||||
|
|
||||||
render_header("LDAP manager");
|
render_header("LDAP manager");
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
include_once("web_functions.inc.php");
|
include_once __DIR__ . "/web_functions.inc.php";
|
||||||
include_once("ldap_functions.inc.php");
|
include_once __DIR__ . "/ldap_functions.inc.php";
|
||||||
|
|
||||||
set_page_access("user");
|
set_page_access("user");
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
include_once("web_functions.inc.php");
|
include_once __DIR__ . "/includes/web_functions.inc.php";
|
||||||
render_header();
|
render_header();
|
||||||
|
|
||||||
if (isset($_GET['logged_out'])) {
|
if (isset($_GET['logged_out'])) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
include("web_functions.inc.php");
|
include __DIR__ . "/web_functions.inc.php";
|
||||||
include("ldap_functions.inc.php");
|
include __DIR__ . "/ldap_functions.inc.php";
|
||||||
|
|
||||||
if (isset($_POST["user_id"]) and isset($_POST["password"])) {
|
if (isset($_POST["user_id"]) and isset($_POST["password"])) {
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
include("web_functions.inc.php");
|
include __DIR__ . "/../includes/web_functions.inc.php";
|
||||||
log_out();
|
log_out();
|
||||||
?>
|
?>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
include("web_functions.inc.php");
|
include __DIR__ . "/../includes/web_functions.inc.php";
|
||||||
include("ldap_functions.inc.php");
|
include __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||||
|
|
||||||
if (isset($_POST["admin_password"])) {
|
if (isset($_POST["admin_password"])) {
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
include_once("web_functions.inc.php");
|
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||||
include_once("ldap_functions.inc.php");
|
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||||
include_once("module_functions.inc.php");
|
include_once __DIR__ . "/../includes/module_functions.inc.php";
|
||||||
|
|
||||||
validate_setup_cookie();
|
validate_setup_cookie();
|
||||||
set_page_access("setup");
|
set_page_access("setup");
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
include_once("web_functions.inc.php");
|
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||||
include_once("ldap_functions.inc.php");
|
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||||
include_once("module_functions.inc.php");
|
include_once __DIR__ . "/../includes/module_functions.inc.php";
|
||||||
|
|
||||||
validate_setup_cookie();
|
validate_setup_cookie();
|
||||||
set_page_access("setup");
|
set_page_access("setup");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user