stany.ferer 3 hónapja
szülő
commit
7ad5d85ef7
2 módosított fájl, 2 hozzáadás és 3 törlés
  1. 2 2
      core/class/maj.class.php
  2. 0 1
      public-cms/console.logs.apache.php

+ 2 - 2
core/class/maj.class.php

@@ -10,7 +10,7 @@ class maj {
         return file_get_contents(DIR_MAJ . "sql/maj.sql");
     }
     
-    public static function query(string $query = NULL){
+    public static function query(?string $query = NULL){
         if($query != NULL){
             db::query($query);
             try {
@@ -31,7 +31,7 @@ class maj {
         }
     }
     
-    public static function print(string $_string, string $_color = NULL){
+    public static function print(string $_string, ?string $_color = NULL){
         if($_color == NULL){
             echo "<div>" . $_string . "</div>";
         } else {

+ 0 - 1
public-cms/console.logs.apache.php

@@ -30,7 +30,6 @@ $lines = array_reverse($lines);
 <html lang="fr">
 <head>
     <meta charset="UTF-8">
-    <title>Visualiseur de logs</title>
     <style>
         body { font-family: monospace; background: black !important; padding: 20px; }
         div { font-size: 0.8em; }