admin.php 1 location
|
@@ 23-29 (lines=7) @@
|
20 |
|
} |
21 |
|
|
22 |
|
// Load config |
23 |
|
if (file_exists('../includes/config/tp.config.php')) { |
24 |
|
require_once '../includes/config/tp.config.php'; |
25 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
26 |
|
require_once './includes/config/tp.config.php'; |
27 |
|
} else { |
28 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
29 |
|
} |
30 |
|
|
31 |
|
/* do checks */ |
32 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
admin.settings.php 1 location
|
@@ 24-30 (lines=7) @@
|
21 |
|
} |
22 |
|
|
23 |
|
// Load config |
24 |
|
if (file_exists('../includes/config/tp.config.php')) { |
25 |
|
require_once '../includes/config/tp.config.php'; |
26 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
27 |
|
require_once './includes/config/tp.config.php'; |
28 |
|
} else { |
29 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
30 |
|
} |
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
admin.settings_duo.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
/* do checks */ |
34 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
duo.load.php 1 location
|
@@ 23-29 (lines=7) @@
|
20 |
|
} |
21 |
|
|
22 |
|
// Load config |
23 |
|
if (file_exists('../includes/config/tp.config.php')) { |
24 |
|
require_once '../includes/config/tp.config.php'; |
25 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
26 |
|
require_once './includes/config/tp.config.php'; |
27 |
|
} else { |
28 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
29 |
|
} |
30 |
|
|
31 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
32 |
|
|
favorites.php 1 location
|
@@ 20-26 (lines=7) @@
|
17 |
|
} |
18 |
|
|
19 |
|
// Load config |
20 |
|
if (file_exists('../includes/config/tp.config.php')) { |
21 |
|
require_once '../includes/config/tp.config.php'; |
22 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
23 |
|
require_once './includes/config/tp.config.php'; |
24 |
|
} else { |
25 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
26 |
|
} |
27 |
|
|
28 |
|
echo ' |
29 |
|
<form name="form_favourites" method="post" action=""> |
find.php 1 location
|
@@ 20-26 (lines=7) @@
|
17 |
|
} |
18 |
|
|
19 |
|
// Load config |
20 |
|
if (file_exists('../includes/config/tp.config.php')) { |
21 |
|
require_once '../includes/config/tp.config.php'; |
22 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
23 |
|
require_once './includes/config/tp.config.php'; |
24 |
|
} else { |
25 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
26 |
|
} |
27 |
|
|
28 |
|
/* do checks */ |
29 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
folders.php 1 location
|
@@ 24-30 (lines=7) @@
|
21 |
|
} |
22 |
|
|
23 |
|
// Load config |
24 |
|
if (file_exists('../includes/config/tp.config.php')) { |
25 |
|
require_once '../includes/config/tp.config.php'; |
26 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
27 |
|
require_once './includes/config/tp.config.php'; |
28 |
|
} else { |
29 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
30 |
|
} |
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
items.export.php 1 location
|
@@ 27-33 (lines=7) @@
|
24 |
|
} |
25 |
|
|
26 |
|
// Load config |
27 |
|
if (file_exists('../includes/config/tp.config.php')) { |
28 |
|
require_once '../includes/config/tp.config.php'; |
29 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
30 |
|
require_once './includes/config/tp.config.php'; |
31 |
|
} else { |
32 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
33 |
|
} |
34 |
|
|
35 |
|
/* do checks */ |
36 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
items.import.php 1 location
|
@@ 27-33 (lines=7) @@
|
24 |
|
} |
25 |
|
|
26 |
|
// Load config |
27 |
|
if (file_exists('../includes/config/tp.config.php')) { |
28 |
|
require_once '../includes/config/tp.config.php'; |
29 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
30 |
|
require_once './includes/config/tp.config.php'; |
31 |
|
} else { |
32 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
33 |
|
} |
34 |
|
|
35 |
|
/* do checks */ |
36 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
items.offline.php 1 location
|
@@ 27-33 (lines=7) @@
|
24 |
|
} |
25 |
|
|
26 |
|
// Load config |
27 |
|
if (file_exists('../includes/config/tp.config.php')) { |
28 |
|
require_once '../includes/config/tp.config.php'; |
29 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
30 |
|
require_once './includes/config/tp.config.php'; |
31 |
|
} else { |
32 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
33 |
|
} |
34 |
|
|
35 |
|
/* do checks */ |
36 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
kb.load.php 1 location
|
@@ 20-26 (lines=7) @@
|
17 |
|
} |
18 |
|
|
19 |
|
// Load config |
20 |
|
if (file_exists('../includes/config/tp.config.php')) { |
21 |
|
require_once '../includes/config/tp.config.php'; |
22 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
23 |
|
require_once './includes/config/tp.config.php'; |
24 |
|
} else { |
25 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
26 |
|
} |
27 |
|
|
28 |
|
?> |
29 |
|
<script type="text/javascript"> |
load.php 1 location
|
@@ 21-27 (lines=7) @@
|
18 |
|
} |
19 |
|
|
20 |
|
// Load config |
21 |
|
if (file_exists('../includes/config/tp.config.php')) { |
22 |
|
require_once '../includes/config/tp.config.php'; |
23 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
24 |
|
require_once './includes/config/tp.config.php'; |
25 |
|
} else { |
26 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
27 |
|
} |
28 |
|
|
29 |
|
// Common elements |
30 |
|
$htmlHeaders = ' |
profile.php 1 location
|
@@ 26-32 (lines=7) @@
|
23 |
|
} |
24 |
|
|
25 |
|
// Load config |
26 |
|
if (file_exists('../includes/config/tp.config.php')) { |
27 |
|
require_once '../includes/config/tp.config.php'; |
28 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
29 |
|
require_once './includes/config/tp.config.php'; |
30 |
|
} else { |
31 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
32 |
|
} |
33 |
|
|
34 |
|
/* do checks */ |
35 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
roles.php 1 location
|
@@ 23-29 (lines=7) @@
|
20 |
|
} |
21 |
|
|
22 |
|
// Load config |
23 |
|
if (file_exists('../includes/config/tp.config.php')) { |
24 |
|
require_once '../includes/config/tp.config.php'; |
25 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
26 |
|
require_once './includes/config/tp.config.php'; |
27 |
|
} else { |
28 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
29 |
|
} |
30 |
|
|
31 |
|
/* do checks */ |
32 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
sources/admin.queries.php 1 location
|
@@ 26-32 (lines=7) @@
|
23 |
|
} |
24 |
|
|
25 |
|
// Load config |
26 |
|
if (file_exists('../includes/config/tp.config.php')) { |
27 |
|
require_once '../includes/config/tp.config.php'; |
28 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
29 |
|
require_once './includes/config/tp.config.php'; |
30 |
|
} else { |
31 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
32 |
|
} |
33 |
|
|
34 |
|
/* do checks */ |
35 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
sources/categories.queries.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
/* do checks */ |
34 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
sources/core.php 1 location
|
@@ 20-26 (lines=7) @@
|
17 |
|
} |
18 |
|
|
19 |
|
// Load config |
20 |
|
if (file_exists('../includes/config/tp.config.php')) { |
21 |
|
require_once '../includes/config/tp.config.php'; |
22 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
23 |
|
require_once './includes/config/tp.config.php'; |
24 |
|
} else { |
25 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
26 |
|
} |
27 |
|
|
28 |
|
/** |
29 |
|
* redirection management |
sources/downloadFile.php 1 location
|
@@ 22-30 (lines=9) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} elseif (file_exists('../../includes/config/tp.config.php')) { |
27 |
|
require_once '../../includes/config/tp.config.php'; |
28 |
|
} else { |
29 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
30 |
|
} |
31 |
|
|
32 |
|
// Include files |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/libraries/protect/SuperGlobal/SuperGlobal.php'; |
sources/export.queries.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
// No time limit |
31 |
|
set_time_limit(0); |
sources/favourites.queries.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/main.functions.php'; |
31 |
|
include $SETTINGS['cpassman_dir'].'/includes/language/'.$_SESSION['user_language'].'.php'; |
sources/find.queries.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/SplClassLoader.php'; |
31 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/main.functions.php'; |
sources/folders.queries.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
/* do checks */ |
34 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
sources/identify.php 2 locations
|
@@ 26-32 (lines=7) @@
|
23 |
|
} |
24 |
|
|
25 |
|
// Load config |
26 |
|
if (file_exists('../includes/config/tp.config.php')) { |
27 |
|
require_once '../includes/config/tp.config.php'; |
28 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
29 |
|
require_once './includes/config/tp.config.php'; |
30 |
|
} else { |
31 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
32 |
|
} |
33 |
|
|
34 |
|
if (!isset($SETTINGS['cpassman_dir']) || $SETTINGS['cpassman_dir'] === "" || $SETTINGS['cpassman_dir'] === ".") { |
35 |
|
$SETTINGS['cpassman_dir'] = ".."; |
|
@@ 265-271 (lines=7) @@
|
262 |
|
global $debugLdap, $debugDuo, $SETTINGS; |
263 |
|
|
264 |
|
// Load config |
265 |
|
if (file_exists('../includes/config/tp.config.php')) { |
266 |
|
require_once '../includes/config/tp.config.php'; |
267 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
268 |
|
require_once './includes/config/tp.config.php'; |
269 |
|
} else { |
270 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
271 |
|
} |
272 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
273 |
|
|
274 |
|
header("Content-type: text/html; charset=utf-8"); |
sources/import.queries.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
// No time limit |
34 |
|
set_time_limit(0); |
sources/items.logs.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
31 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
sources/items.queries.php 1 location
|
@@ 21-27 (lines=7) @@
|
18 |
|
} |
19 |
|
|
20 |
|
// Load config |
21 |
|
if (file_exists('../includes/config/tp.config.php')) { |
22 |
|
require_once '../includes/config/tp.config.php'; |
23 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
24 |
|
require_once './includes/config/tp.config.php'; |
25 |
|
} else { |
26 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
27 |
|
} |
28 |
|
|
29 |
|
// Do checks |
30 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
sources/kb.queries.categories.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
global $k, $settings; |
31 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
sources/kb.queries.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
// Is KB enabled |
34 |
|
if (isset($SETTINGS['enable_kb']) === false || $SETTINGS['enable_kb'] != 1) { |
sources/main.functions.php 1 location
|
@@ 20-28 (lines=9) @@
|
17 |
|
} |
18 |
|
|
19 |
|
// Load config |
20 |
|
if (file_exists('../includes/config/tp.config.php')) { |
21 |
|
require_once '../includes/config/tp.config.php'; |
22 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
23 |
|
require_once './includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('../../includes/config/tp.config.php')) { |
25 |
|
require_once '../../includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
// load phpCrypt |
31 |
|
if (!isset($SETTINGS['cpassman_dir']) || empty($SETTINGS['cpassman_dir'])) { |
sources/main.queries.php 1 location
|
@@ 27-33 (lines=7) @@
|
24 |
|
} |
25 |
|
|
26 |
|
// Load config |
27 |
|
if (file_exists('../includes/config/tp.config.php')) { |
28 |
|
require_once '../includes/config/tp.config.php'; |
29 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
30 |
|
require_once './includes/config/tp.config.php'; |
31 |
|
} else { |
32 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
33 |
|
} |
34 |
|
|
35 |
|
/* do checks */ |
36 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
sources/roles.queries.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
34 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
sources/suggestion.queries.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
// Is SUGGESTION enabled |
34 |
|
if (isset($SETTINGS['enable_suggestion']) === false || $SETTINGS['enable_suggestion'] != 1) { |
sources/tree.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
// includes |
31 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
sources/users.queries.php 1 location
|
@@ 26-32 (lines=7) @@
|
23 |
|
} |
24 |
|
|
25 |
|
// Load config |
26 |
|
if (file_exists('../includes/config/tp.config.php')) { |
27 |
|
require_once '../includes/config/tp.config.php'; |
28 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
29 |
|
require_once './includes/config/tp.config.php'; |
30 |
|
} else { |
31 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
32 |
|
} |
33 |
|
|
34 |
|
/* do checks */ |
35 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
sources/utils.queries.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
} |
20 |
|
|
21 |
|
// Load config |
22 |
|
if (file_exists('../includes/config/tp.config.php')) { |
23 |
|
require_once '../includes/config/tp.config.php'; |
24 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
25 |
|
require_once './includes/config/tp.config.php'; |
26 |
|
} else { |
27 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
28 |
|
} |
29 |
|
|
30 |
|
include $SETTINGS['cpassman_dir'].'/includes/language/'.$_SESSION['user_language'].'.php'; |
31 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
sources/views.queries.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
/* do checks */ |
34 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
ssh.php 1 location
|
@@ 27-33 (lines=7) @@
|
24 |
|
} |
25 |
|
|
26 |
|
// Load config |
27 |
|
if (file_exists('../includes/config/tp.config.php')) { |
28 |
|
require_once '../includes/config/tp.config.php'; |
29 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
30 |
|
require_once './includes/config/tp.config.php'; |
31 |
|
} else { |
32 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
33 |
|
} |
34 |
|
|
35 |
|
$SETTINGS['enable_server_password_change'] = 1; |
36 |
|
/* do checks */ |
suggestion.load.php 1 location
|
@@ 21-27 (lines=7) @@
|
18 |
|
|
19 |
|
|
20 |
|
// Load config |
21 |
|
if (file_exists('../includes/config/tp.config.php')) { |
22 |
|
require_once '../includes/config/tp.config.php'; |
23 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
24 |
|
require_once './includes/config/tp.config.php'; |
25 |
|
} else { |
26 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
27 |
|
} |
28 |
|
|
29 |
|
if (!isset($SETTINGS['enable_suggestion']) || $SETTINGS['enable_suggestion'] != 1) { |
30 |
|
die('Hacking attempt...'); |
users.php 1 location
|
@@ 24-30 (lines=7) @@
|
21 |
|
} |
22 |
|
|
23 |
|
// Load config |
24 |
|
if (file_exists('../includes/config/tp.config.php')) { |
25 |
|
require_once '../includes/config/tp.config.php'; |
26 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
27 |
|
require_once './includes/config/tp.config.php'; |
28 |
|
} else { |
29 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
30 |
|
} |
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
views.php 1 location
|
@@ 23-29 (lines=7) @@
|
20 |
|
} |
21 |
|
|
22 |
|
// Load config |
23 |
|
if (file_exists('../includes/config/tp.config.php')) { |
24 |
|
require_once '../includes/config/tp.config.php'; |
25 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
26 |
|
require_once './includes/config/tp.config.php'; |
27 |
|
} else { |
28 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
29 |
|
} |
30 |
|
|
31 |
|
/* do checks */ |
32 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
views_database.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
/* do checks */ |
34 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
views_logs.php 1 location
|
@@ 26-32 (lines=7) @@
|
23 |
|
} |
24 |
|
|
25 |
|
// Load config |
26 |
|
if (file_exists('../includes/config/tp.config.php')) { |
27 |
|
require_once '../includes/config/tp.config.php'; |
28 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
29 |
|
require_once './includes/config/tp.config.php'; |
30 |
|
} else { |
31 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
32 |
|
} |
33 |
|
|
34 |
|
/* do checks */ |
35 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
kb.php 1 location
|
@@ 23-29 (lines=7) @@
|
20 |
|
} |
21 |
|
|
22 |
|
// Load config |
23 |
|
if (file_exists('../includes/config/tp.config.php')) { |
24 |
|
require_once '../includes/config/tp.config.php'; |
25 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
26 |
|
require_once './includes/config/tp.config.php'; |
27 |
|
} else { |
28 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
29 |
|
} |
30 |
|
|
31 |
|
if (isset($SETTINGS['enable_kb']) === false || $SETTINGS['enable_kb'] !== "1") { |
32 |
|
die('Hacking attempt...'); |
suggestion.php 1 location
|
@@ 23-29 (lines=7) @@
|
20 |
|
} |
21 |
|
|
22 |
|
// Load config |
23 |
|
if (file_exists('../includes/config/tp.config.php')) { |
24 |
|
require_once '../includes/config/tp.config.php'; |
25 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
26 |
|
require_once './includes/config/tp.config.php'; |
27 |
|
} else { |
28 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
29 |
|
} |
30 |
|
|
31 |
|
if (isset($SETTINGS['enable_suggestion']) === false || $SETTINGS['enable_suggestion'] !== "1") { |
32 |
|
die('Hacking attempt...'); |
otv.php 1 location
|
@@ 21-27 (lines=7) @@
|
18 |
|
} |
19 |
|
|
20 |
|
// Load config |
21 |
|
if (file_exists('../includes/config/tp.config.php')) { |
22 |
|
require_once '../includes/config/tp.config.php'; |
23 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
24 |
|
require_once './includes/config/tp.config.php'; |
25 |
|
} else { |
26 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
27 |
|
} |
28 |
|
|
29 |
|
$html = ""; |
30 |
|
if (filter_var($_GET['code'], FILTER_SANITIZE_STRING) !== false |
error.php 1 location
|
@@ 31-37 (lines=7) @@
|
28 |
|
} |
29 |
|
|
30 |
|
// Load config |
31 |
|
if (file_exists('../includes/config/tp.config.php')) { |
32 |
|
require_once '../includes/config/tp.config.php'; |
33 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
34 |
|
require_once './includes/config/tp.config.php'; |
35 |
|
} else { |
36 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
37 |
|
} |
38 |
|
|
39 |
|
if (null !== filter_input(INPUT_POST, 'session', FILTER_SANITIZE_STRING) |
40 |
|
&& filter_input(INPUT_POST, 'session', FILTER_SANITIZE_STRING) === "expired" |
items.php 1 location
|
@@ 24-30 (lines=7) @@
|
21 |
|
} |
22 |
|
|
23 |
|
// Load config |
24 |
|
if (file_exists('../includes/config/tp.config.php')) { |
25 |
|
require_once '../includes/config/tp.config.php'; |
26 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
27 |
|
require_once './includes/config/tp.config.php'; |
28 |
|
} else { |
29 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
30 |
|
} |
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
sources/checks.php 1 location
|
@@ 19-27 (lines=9) @@
|
16 |
|
require_once 'SecureHandler.php'; |
17 |
|
|
18 |
|
// Load config |
19 |
|
if (file_exists('../includes/config/tp.config.php')) { |
20 |
|
require_once '../includes/config/tp.config.php'; |
21 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
22 |
|
require_once './includes/config/tp.config.php'; |
23 |
|
} elseif (file_exists('../../includes/config/tp.config.php')) { |
24 |
|
require_once '../../includes/config/tp.config.php'; |
25 |
|
} else { |
26 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
27 |
|
} |
28 |
|
|
29 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
30 |
|
|
admin.settings_categories.php 1 location
|
@@ 25-31 (lines=7) @@
|
22 |
|
} |
23 |
|
|
24 |
|
// Load config |
25 |
|
if (file_exists('../includes/config/tp.config.php')) { |
26 |
|
require_once '../includes/config/tp.config.php'; |
27 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
28 |
|
require_once './includes/config/tp.config.php'; |
29 |
|
} else { |
30 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
31 |
|
} |
32 |
|
|
33 |
|
/* do checks */ |
34 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
index.php 1 location
|
@@ 49-55 (lines=7) @@
|
46 |
|
session_id(); |
47 |
|
|
48 |
|
// Load config |
49 |
|
if (file_exists('../includes/config/tp.config.php')) { |
50 |
|
require_once '../includes/config/tp.config.php'; |
51 |
|
} elseif (file_exists('./includes/config/tp.config.php')) { |
52 |
|
require_once './includes/config/tp.config.php'; |
53 |
|
} else { |
54 |
|
throw new Exception("Error file '/includes/config/tp.config.php' not exists", 1); |
55 |
|
} |
56 |
|
|
57 |
|
// Include files |
58 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |