WIP rewrite of newsLib

This commit is contained in:
marko
2025-05-10 06:24:26 +02:00
parent 0aa94137db
commit 69424c68e5

View File

@@ -1,6 +1,8 @@
<? <?
require_once("config.php"); require_once("config.php");
require_once("phpLibs/cwsvjudo/news.php");
$config = json_decode( $config = json_decode(
json: file_get_contents(filename: $home."/.local/config.json"), json: file_get_contents(filename: $home."/.local/config.json"),
associative: true associative: true
@@ -12,6 +14,7 @@ $secrets = json_decode(
); );
try { try {
$conn = new PDO( $conn = new PDO(
dsn: join(separator: ";",array: [ dsn: join(separator: ";",array: [