Skip to content

Commit

Permalink
New update and changes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterujah committed Jan 30, 2024
1 parent 8e34336 commit dd28296
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions resources/views/404.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" type="image/png" href="<?php echo $this->_base;?>favicon.png">
<title>Page Not Found</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>Welcome to PHP Luminova</title>
<meta name="description" content="Simple framework built for speed and keeping your existing coding skills going.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image/png" href="/favicon.ico">
<link rel="shortcut icon" type="image/png" href="<?php echo $this->_base;?>favicon.png">
<style>
* {
transition: background-color 300ms ease, color 300ms ease;
Expand Down
2 changes: 1 addition & 1 deletion resources/views/system_errors/errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">

<link rel="shortcut icon" type="image/png" href="<?php echo $this->_base??'/';?>favicon.png">
<title>Error</title>

<style>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/system_errors/exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">

<link rel="shortcut icon" type="image/png" href="<?php echo $this->_base;?>favicon.png">
<title><?= htmlspecialchars($this->_title) ?></title>
<style>
<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.css')) ?>
Expand Down
1 change: 1 addition & 0 deletions resources/views/system_errors/maintenance.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" type="image/png" href="<?php echo $this->_base??'/';?>favicon.png">
<title>Maintenance Mood</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion system/Command/Novakit/Generators.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private function createView(string $name): void

$name = strtolower($name);

$classContent = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <title>$name</title>\n </head>\n <body>\n <h1>Welcome To $name</h1>\n </body>\n</html>";
$classContent = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <link rel=\"shortcut icon\" href=\"<?php echo \$this->_base;?>favicon.png\" />\n<title>$name</title>\n </head>\n <body>\n <h1>Welcome To $name</h1>\n </body>\n</html>";

$path = "/resources/views/{$name}.php";

Expand Down

0 comments on commit dd28296

Please sign in to comment.