mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2013-06-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: cleaned source code style. * include/get_file.php: fixed the include the auth. Fixes: #2274 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1e74f905f5
commit
3bf0cd67cb
@ -1,3 +1,11 @@
|
|||||||
|
2013-06-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions.php: cleaned source code style.
|
||||||
|
|
||||||
|
* include/get_file.php: fixed the include the auth.
|
||||||
|
|
||||||
|
Fixes: #2274
|
||||||
|
|
||||||
2013-06-05 Miguel de Dios <miguel.dedios@artica.es>
|
2013-06-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* operation/snmpconsole/snmp_view.php: fixed the pagination.
|
* operation/snmpconsole/snmp_view.php: fixed the pagination.
|
||||||
|
@ -611,7 +611,7 @@ function get_parameterBetweenListValues ($name, $values, $default) {
|
|||||||
|
|
||||||
if (isset($_GET[$name]))
|
if (isset($_GET[$name]))
|
||||||
$parameter = get_parameter_get ($name, $default);
|
$parameter = get_parameter_get ($name, $default);
|
||||||
|
|
||||||
foreach($values as $value) {
|
foreach($values as $value) {
|
||||||
if ($value == $parameter) {
|
if ($value == $parameter) {
|
||||||
return $value;
|
return $value;
|
||||||
|
@ -23,7 +23,7 @@ global $config;
|
|||||||
|
|
||||||
$auth_method = db_get_value('value', 'tconfig', 'token', 'auth');
|
$auth_method = db_get_value('value', 'tconfig', 'token', 'auth');
|
||||||
|
|
||||||
include("auth/" . $auth_method . ".php");
|
require_once("auth/" . $auth_method . ".php");
|
||||||
|
|
||||||
session_write_close ();
|
session_write_close ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user