Skip to content

Commit

Permalink
Minor refactoring, let variable has better naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edmondas Girkantas committed Mar 11, 2016
1 parent 51c4165 commit f9d368b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$language = "en_EN";
}

# FIXME: setlocale can fail if locale package is not installed ion the systme for that language
# FIXME: setlocale can fail if locale package is not installed on the system for that language
setlocale(LC_ALL, $language, $language . '.UTF-8');
$gettext_domain = 'messages';
if (!function_exists('bindtextdomain')) {
Expand Down Expand Up @@ -180,8 +180,8 @@ function get_random_key() {
if (method_exists($fill_perm_items, 'free')) {
$fill_perm_items->free();
}
foreach ($def_remaining_queries as $n => $user_query) {
if ($n === 0) {
foreach ($def_remaining_queries as $query_nr => $user_query) {
if ($query_nr === 0) {
$user_query = sprintf($user_query, $db->quote(Poweradmin\password\hash($pa_pass), 'text'));
}
$db->query($user_query);
Expand Down

0 comments on commit f9d368b

Please sign in to comment.