diff options
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 9bd65e4..8a31111 100644 --- a/functions.php +++ b/functions.php @@ -23,3 +23,9 @@ function str_ends_with( $haystack, $needle) { } return substr($haystack, -$len) === $needle; } + +function get_ghrss_feeds() { + require_once __DIR__ . '/views/tools/ghrss/ghrss.db.php'; + $result = $db->query("SELECT name FROM language ORDER BY name;"); + return $result->fetchAll(); +} |
