]> git.bts.cx Git - cx.git/blob - cx/lib/system.php
Don't break when there's no hero image
[cx.git] / cx / lib / system.php
1 <?php
2
3 cx_require('lib', 'db.php');
4 cx_require('lib', 'setup.php');
5
6 function cx_system_get_metadata($key, $default_value = null) {
7
8 }
9
10 function cx_system_set_metadata($key, $value) {
11
12 }
13
14 cx_setup_register(1, function() {
15 cx_db_exec('CREATE TABLE system_metadata (
16 system_metadata_key STRING PRIMARY KEY,
17 system_metadata_value STRING
18 );');
19 });