X-Git-Url: https://git.bts.cx/cx.git/blobdiff_plain/6e68608aecb6a542b9c75a13afd5002aeb7bc0f1..refs/heads/mainline:/cx/lib/site.php diff --git a/cx/lib/site.php b/cx/lib/site.php index 4a80b60..c705060 100644 --- a/cx/lib/site.php +++ b/cx/lib/site.php @@ -55,6 +55,10 @@ function cx_site_url() { return $details['site_url']; } +function cx_site_posts_per_page() { + return 5; +} + cx_setup_register(1, function() { cx_db_exec('CREATE TABLE sites ( site_id INTEGER PRIMARY KEY,