Skip to content

Commit 2899012

Browse files
committed
Merge branch 'main' into testing6
2 parents 4171c3c + 2e93b8f commit 2899012

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "vendor/hakasapl/phpopenldaper"]
2-
path = vendor/hakasapl/phpopenldaper
3-
url = git@github.com:hakasapl/phpopenldaper.git
1+
[submodule "hakasapl/phpopenldaper"]
2+
path = resources/lib/phpopenldaper
3+
url = https://github.com/hakasapl/phpopenldaper.git

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ Unity Web Portal is a PHP application built in top of MariaDB and LDAP which act
2929
6. `php-pdo`
3030
2. Composer packages
3131
1. `cd` to this repository
32-
2. Install packages `composer update`
32+
1. Setup git submodules `git submodule update --init --checkout`
33+
1. Install packages `composer update`
3334
3. Setup config file `config/config.ini` according to your site deployment
3435
4. Setup branding file `config/branding/config.ini` according to your site deployment
3536
5. Point your web server's document root to `webroot` in this repo

resources/autoload.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
require_once __DIR__ . "/../vendor/hakasapl/phpopenldaper/src/PHPOpenLDAPer/LDAPEntry.php";
1111
require_once __DIR__ . "/../vendor/hakasapl/phpopenldaper/src/PHPOpenLDAPer/LDAPConn.php";
1212

13+
// submodule
14+
require_once __DIR__ . "/lib/phpopenldaper/src/PHPOpenLDAPer/LDAPEntry.php";
15+
require_once __DIR__ . "/lib/phpopenldaper/src/PHPOpenLDAPer/LDAPConn.php";
16+
1317
// load libs
1418
require_once __DIR__ . "/lib/UnityLDAP.php";
1519
require_once __DIR__ . "/lib/UnityUser.php";

resources/lib/phpopenldaper

Submodule phpopenldaper added at e3a7783

test/phpunit-bootstrap.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
require_once __DIR__ . "/../vendor/hakasapl/phpopenldaper/src/PHPOpenLDAPer/LDAPEntry.php";
66
require_once __DIR__ . "/../vendor/hakasapl/phpopenldaper/src/PHPOpenLDAPer/LDAPConn.php";
77

8+
// submodule
9+
require_once __DIR__ . "/../resources/lib/phpopenldaper/src/PHPOpenLDAPer/LDAPEntry.php";
10+
require_once __DIR__ . "/../resources/lib/phpopenldaper/src/PHPOpenLDAPer/LDAPConn.php";
11+
812
require_once __DIR__ . "/../resources/lib/UnityLDAP.php";
913
require_once __DIR__ . "/../resources/lib/UnityUser.php";
1014
require_once __DIR__ . "/../resources/lib/UnityGroup.php";

0 commit comments

Comments
 (0)