diff --git a/protokolle.php b/protokolle.php index a304353..e19415c 100644 --- a/protokolle.php +++ b/protokolle.php @@ -6,11 +6,11 @@
PHP Configuration changed. The autoload.php file is missing. Please runcomposer installorcomposer require vstelmakh/url-highlight. Please inform the osamc.de staff about this problem."; + echo "PHP Configuration changed. The autoload.php file is missing. Please run
"; exit; // Stop script execution } @@ -18,7 +18,7 @@ require $autoloadPath; // Check if UrlHighlight class exists using its fully qualified name if (!class_exists('VStelmakh\UrlHighlight\UrlHighlight')) { - echo "composer installorcomposer require vstelmakh/url-highlight. Please inform the köln.sonoj.org staff about this problem.PHP Configuration changed. Run
"; + echo "composer require vstelmakh/url-highlight. Please inform the osamc.de staff about this problem.PHP Configuration changed. Run
"; exit; // Stop script execution } @@ -29,7 +29,7 @@ use VStelmakh\UrlHighlight\UrlHighlight; // Main logic of the script starts here $urlHighlight = new UrlHighlight(); -$files = glob("./protokolle/osamc_*.txt"); +$files = glob("./protokolle/*.txt"); foreach(array_reverse($files) as $file){ $path_parts = pathinfo($file); echo "composer require vstelmakh/url-highlight. Please inform the köln.sonoj.org staff about this problem." . $path_parts['filename'] . "
";