mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 07:32:53 +01:00
Merge pull request #5 from gslin/master
Avoid `include_path` dependency.
This commit is contained in:
commit
c3244bdd7f
@ -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("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("web_functions.inc.php");
|
||||
include_once("ldap_functions.inc.php");
|
||||
include_once __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include_once __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
|
||||
set_page_access("user");
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include_once("web_functions.inc.php");
|
||||
include_once __DIR__ . "/includes/web_functions.inc.php";
|
||||
render_header();
|
||||
|
||||
if (isset($_GET['logged_out'])) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
include("web_functions.inc.php");
|
||||
include("ldap_functions.inc.php");
|
||||
include __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
|
||||
if (isset($_POST["user_id"]) and isset($_POST["password"])) {
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
include("web_functions.inc.php");
|
||||
include __DIR__ . "/../includes/web_functions.inc.php";
|
||||
log_out();
|
||||
?>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
include("web_functions.inc.php");
|
||||
include("ldap_functions.inc.php");
|
||||
include __DIR__ . "/../includes/web_functions.inc.php";
|
||||
include __DIR__ . "/../includes/ldap_functions.inc.php";
|
||||
|
||||
if (isset($_POST["admin_password"])) {
|
||||
|
||||
|
@ -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";
|
||||
|
||||
validate_setup_cookie();
|
||||
set_page_access("setup");
|
||||
|
@ -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";
|
||||
|
||||
validate_setup_cookie();
|
||||
set_page_access("setup");
|
||||
|
Loading…
x
Reference in New Issue
Block a user