-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.php
More file actions
38 lines (23 loc) · 1.05 KB
/
start.php
File metadata and controls
38 lines (23 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
// fishbones starting point
// this var is required
// put Fish folder in a non internet accesable folder for security , and modify the path var below accordingly
$pathToFishbones = 'fishbones/';
// config should come first
include($pathToFishbones.'Config.php');
// second the core classes
include($pathToFishbones.'core/Log.php');
include($pathToFishbones.'core/DB.php');
include($pathToFishbones.'core/Pump.php');
include($pathToFishbones.'core/CleanVars.php');
// the Fish class
include($pathToFishbones.'core/Fishbones.php');
/////////////////////////////////////////////////////////////////////////////////
Fishbones::getConfig()->currentPathToStart = $pathToStart;
Fishbones::getConfig()->currentPathToFishbones = $pathToFishbones;
/////////////////////////////////////////////////////////////////////////////////
if ( Fishbones::getConfig()->autoEscapeHttpRequestVars ) {
Fishbones::getCleanVars()->cleanHttpRequestVars();
}
/////////////////////////////////////////////////////////////////////////////////
?>