WIP rewrite of newsLib
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?
|
||||
require_once("config.php");
|
||||
|
||||
require_once("phpLibs/cwsvjudo/news.php");
|
||||
|
||||
$config = json_decode(
|
||||
json: file_get_contents(filename: $home."/.local/config.json"),
|
||||
associative: true
|
||||
@@ -12,6 +14,7 @@ $secrets = json_decode(
|
||||
);
|
||||
|
||||
|
||||
|
||||
try {
|
||||
$conn = new PDO(
|
||||
dsn: join(separator: ";",array: [
|
||||
|
||||
Reference in New Issue
Block a user