Skip to content

Commit 58529ea

Browse files
authored
* expiriation -> expiration * explaination -> explanation * Fix DnsDomain model incorrectly called MailDomain
1 parent c09855f commit 58529ea

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

web/add/dns/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
unset($output);
9494
}
9595

96-
// Set expiriation date
96+
// Set expiration date
9797
if (empty($_SESSION['error_msg'])) {
9898
if ((!empty($_POST['v_exp'])) && ($_POST['v_exp'] != date('Y-m-d', strtotime('+1 year')))) {
9999
$v_exp = quoteshellarg($_POST['v_exp']);

web/edit/dns/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
$restart_dns = 'yes';
117117
}
118118

119-
// Change expiriation date
119+
// Change expiration date
120120
if (($v_exp != $_POST['v_exp']) && (empty($_SESSION['error_msg']))) {
121121
$v_exp = quoteshellarg($_POST['v_exp']);
122122
exec(HESTIA_CMD."v-change-dns-domain-exp ".$user." ".$v_domain." ".$v_exp." 'no'", $output, $return_var);

web/inc/main.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ function top_panel($user, $TAB)
279279
if (!isset($_SESSION['look'])) {
280280
$_SESSION['userSortOrder'] = $panel[$user]['PREF_UI_SORT'];
281281
}
282-
282+
283283
// Set home location URLs
284284
if (($_SESSION['userContext'] === 'admin') && (empty($_SESSION['look']))) {
285285
// Display users list for administrators unless they are impersonating a user account
@@ -462,7 +462,7 @@ function list_timezones()
462462
/**
463463
* A function that tells is it MySQL installed on the system, or it is MariaDB.
464464
*
465-
* Explaination:
465+
* Explanation:
466466
* $_SESSION['DB_SYSTEM'] has 'mysql' value even if MariaDB is installed, so you can't figure out is it really MySQL or it's MariaDB.
467467
* So, this function will make it clear.
468468
*

web/src/app/Models/DnsDomain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Hestia\Models;
66

7-
class MailDomain extends Model
7+
class DnsDomain extends Model
88
{
99

1010
}

0 commit comments

Comments
 (0)