Skip to content

Commit

Permalink
DWF : phpini.class.php correction
Browse files Browse the repository at this point in the history
  • Loading branch information
legagneur-matthieu committed Aug 11, 2018
1 parent 1080e96 commit b0cc374
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dwf/class/phpini.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ private static function admin_form() {
)]
]);
$session__gc_divisor = "session__gc_divisor";
form::input($session__gc_divisor . " (default : 100, recommended : 1000)", $session__gc_divisor, "number", (isset($_POST["profil"]) ? self::$_ini[self::MODE_CUSTOM][$_POST["profil"]][$session__gc_divisor] : "100"));
form::input(strtr($session__gc_divisor, ["__" => "."]) . " (default : 100, recommended : 1000)", $session__gc_divisor, "number", (isset($_POST["profil"]) ? self::$_ini[self::MODE_CUSTOM][$_POST["profil"]][$session__gc_divisor] : "100"));
$session__sid_bits_per_character = "session__sid_bits_per_character";
form::radios($session__sid_bits_per_character, $session__sid_bits_per_character, [
form::radios(strtr($session__sid_bits_per_character, ["__" => "."]), $session__sid_bits_per_character, [
[4, 4, (isset($_GET["new_profile"]) ?
false :
(self::$_ini[self::MODE_CUSTOM][$_POST["profil"]][$session__sid_bits_per_character] == 4)
Expand Down Expand Up @@ -343,7 +343,7 @@ private static function admin_form() {
)]
]);
$session__gc_maxlifetime = "session__gc_maxlifetime";
form::input($session__gc_maxlifetime, $session__gc_maxlifetime, "number", (isset($_POST["profil"]) ? self::$_ini[self::MODE_CUSTOM][$_POST["profil"]][$session__gc_maxlifetime] : "1440"));
form::input(strtr($session__gc_maxlifetime, ["__" => "."]), $session__gc_maxlifetime, "number", (isset($_POST["profil"]) ? self::$_ini[self::MODE_CUSTOM][$_POST["profil"]][$session__gc_maxlifetime] : "1440"));
form::new_fieldset("post_max_size");
$qnt = (isset($_GET["new_profile"]) ?
"8" :
Expand Down
1 change: 1 addition & 0 deletions html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function __construct() {
echo html_structures::a_link("index.php", html_structures::glyphicon("arrow-left", "") . " Retour au parcours", "btn btn-primary");
new update_dwf("../");
} elseif (isset($_GET["phpini"])) {
echo html_structures::a_link("index.php", html_structures::glyphicon("arrow-left", "") . " Retour au parcours", "btn btn-primary");
phpini::admin();
} else {
$this->main($this->init_main());
Expand Down

0 comments on commit b0cc374

Please sign in to comment.