@@ 60-64 (lines=5) @@ | ||
57 | } |
|
58 | } |
|
59 | ||
60 | foreach ($settings['plugins'] as &$plugin) { |
|
61 | if (file_exists("plugins/". $plugin. "/nav.php")) { |
|
62 | include("plugins/". $plugin."/nav.php"); |
|
63 | } |
|
64 | } |
|
65 | ||
66 | $sql = "SELECT `sid`,`name` FROM `servers` WHERE `use_sq` = 1;"; |
|
67 | $result = $db_connection->query($sql); |
@@ 212-216 (lines=5) @@ | ||
209 | if (!isset($pluginSettings)) { |
|
210 | echo '<h3>'.$lang['plugin'].' '.$lang['settings'].'</h3>'; |
|
211 | } |
|
212 | foreach ($settings['plugins'] as &$plugin) { |
|
213 | if (file_exists('plugins/'.$plugin.'/settings.php')) { |
|
214 | include 'plugins/'.$plugin.'/settings.php'; |
|
215 | } |
|
216 | } |
|
217 | ?> |
|
218 | ||
219 | <br><input class='btn btn-primary' type='submit' name='edit' value='<?php echo $lang['subChange'] ?>'> |
@@ 41-45 (lines=5) @@ | ||
38 | include_once('config/french.php'); |
|
39 | } |
|
40 | ||
41 | foreach ($settings['plugins'] as &$plugin) { |
|
42 | if (file_exists("plugins/" . $plugin . "/lang/lang.php")) { |
|
43 | include("plugins/" . $plugin . "/lang/lang.php"); |
|
44 | } |
|
45 | } |
|
46 | ||
47 | if (file_exists('views/debug')) { |
|
48 | include("views/debug/init.php"); |
|
@@ 505-509 (lines=5) @@ | ||
502 | } else {$err = errorMessage(8, $lang); $page = "views/templates/error.php"; } |
|
503 | } else {$err = errorMessage(5, $lang); $page = "views/templates/error.php"; } |
|
504 | } |
|
505 | foreach ($settings['plugins'] as &$plugin) { |
|
506 | if (file_exists("plugins/" . $plugin . "/pageRules.php")) { |
|
507 | include("plugins/" . $plugin . "/pageRules.php"); |
|
508 | } |
|
509 | } |
|
510 | ||
511 | if ($currentPage == '2factor' && isset($_SESSION['user_email'])) { |
|
512 | $page = 'views/core/2factor.php'; |