mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 15:32:54 +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
|
<?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,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,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";
|
||||||
|
|
||||||
if ( $_POST['setup_admin_account'] ) {
|
if ( $_POST['setup_admin_account'] ) {
|
||||||
$admin_setup = TRUE;
|
$admin_setup = TRUE;
|
||||||
|
@ -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,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();
|
render_header();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?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";
|
||||||
|
|
||||||
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__ . "/../includes/web_functions.inc.php";
|
||||||
include("ldap_functions.inc.php");
|
include __DIR__ . "/../includes/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