Skip to content

Commit 0789653

Browse files
authored
Merge pull request #78 from LaswitchTech/dev
General: Version bumped to v0.0.78
2 parents 58e06bf + 694dd20 commit 0789653

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Template/View/error.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php if(!$this->Config->get('application','maintenance') || $this->Auth->isAuthorized('Administrator',1) || $this->Route === '503'): ?>
22
<!doctype html>
3-
<html lang="en" class="h-100 w-100" data-bs-theme="auto" data-bs-template="fullscreen">
3+
<html lang="en" class="h-100 w-100" data-bs-theme="auto" data-bs-template="error">
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -19,7 +19,7 @@
1919
<main class="content">
2020
<!-- Page Content -->
2121
<div class="app-content">
22-
<section class="app-503">
22+
<section class="app-error">
2323
<div class="container">
2424
<div class="card shadow"><?php require_once $this->view(); ?></div>
2525
</div>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php if(!$this->Config->get('application','maintenance') || $this->Auth->isAuthorized('Administrator',1)): ?>
22
<!doctype html>
3-
<html lang="en" class="h-100 w-100" data-bs-theme="auto" data-bs-template="fullscreen">
3+
<html lang="en" class="h-100 w-100" data-bs-theme="auto" data-bs-template="internal">
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -25,7 +25,7 @@
2525
<main class="content">
2626
<!-- Page Content -->
2727
<div class="app-content">
28-
<section class="app-430">
28+
<section class="app-internal">
2929
<div class="container">
3030
<div class="card shadow">
3131
<?php if(is_null($this->Request->getParams('GET','forgot'))): ?>

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.0.77
1+
v0.0.78

src/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ private function load(): self
7979
$Code = strval($Code);
8080
if(in_array(intval($Code), self::HttpCustomCodes)){
8181
// $this->Routes[$Code] = $this->route($Code, ['label' => self::HttpLabels[$Code], 'view' => $Code . '.php']);
82-
$this->Routes[$Code] = $this->route($Code, ['label' => self::HttpLabels[$Code], 'template' => 'custom.php', 'view' => $Code . '.php']);
82+
$this->Routes[$Code] = $this->route($Code, ['label' => self::HttpLabels[$Code], 'template' => 'internal.php', 'view' => $Code . '.php']);
8383
} else {
8484
$this->Routes[$Code] = $this->route($Code, ['label' => self::HttpLabels[$Code], 'template' => 'error.php', 'view' => $Code . '.php']);
8585
}

0 commit comments

Comments
 (0)