-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.php
21 lines (16 loc) · 834 Bytes
/
init.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
//Configuration Settings
define("BASE_PATH", "../../"); //Relative path to Machform root folder
define("AUTH_USER",'administrator'); //BASIC AUTH Username
define("AUTH_PASS", '$2y$10$CtIWOrkAUVuDL3qG5BbdWu1.F7ExDy9RjdyNiY21YcjOZS.o.dw5i'); //BASIC AUTH Password
//Load Machform files
require_once(BASE_PATH . 'config.php');
require_once(BASE_PATH . 'includes/db-core.php');
require_once(BASE_PATH . 'includes/helper-functions.php');
require_once(BASE_PATH . 'includes/filter-functions.php');
//Load SQL writer library for machform forms
require_once("lib/write.sql.functions.php");
//Load MeekroDB for Database Access
require_once("lib/meekrodb.2.3.class.php");
//Load library if you want to authenticate using BASIC AUTH
require_once("lib/basic.auth.function.php");