diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-19 02:41:06 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-19 02:41:06 +1100 |
| commit | 9d5818636008f99e425465c42a808a36489f4052 (patch) | |
| tree | e2c35a312c7e9a894c8c00aa2e3d54e60f686770 /inc/config.php | |
| parent | ab1db9dd8a8480c7c5cd69c11abe281ddc6d97ca (diff) | |
New feature: "events". Will eventually replace/extend "themes".
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index ae0a36c5..afc4ceaa 100644 --- a/inc/config.php +++ b/inc/config.php @@ -956,6 +956,23 @@ /* * ==================== + * Events (PHP 5.3.0+) + * ==================== + */ + + // event_handler('post', function($post) { + // // do something + // }); + + // event_handler('post', function($post) { + // // do something else + // + // // return an error (reject post) + // return 'Sorry, you cannot post that!'; + // }); + +/* + * ==================== * Other/uncategorized * ==================== */ |
