summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorFredrick Brennan <admin@8chan.co>2014-04-30 17:18:44 -0400
committerFredrick Brennan <admin@8chan.co>2014-04-30 17:18:44 -0400
commitb1912ba86f933f40ef16d041621ef46b8a231e23 (patch)
tree2382d38431b9b5c44a942ef6968e4ae1bb5507c1 /inc
parent042e7b9c598975f876d8a86c8e4242dbf17f7bdf (diff)
parent0a53fdb3a248f5ddac58569a4400f5e2385287b7 (diff)
Merge branch 'staging' of https://github.com/vichan-devel/vichan into staging
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 9a1dd706..88db1db0 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1526,6 +1526,23 @@
// // ...
// };
+ // You can also enable themes (like ukko) in mod panel like this:
+ // require_once("templates/themes/ukko/theme.php");
+ //
+ // $config['mod']['custom_pages']['/\*/'] = function() {
+ // global $mod;
+ //
+ // $ukko = new ukko();
+ // $ukko->settings = array();
+ // $ukko->settings['uri'] = '*';
+ // $ukko->settings['title'] = 'derp';
+ // $ukko->settings['subtitle'] = 'derpity';
+ // $ukko->settings['thread_limit'] = 15;
+ // $ukko->settings['exclude'] = '';
+ //
+ // echo $ukko->build($mod);
+ // };
+
// Example: Add links to dashboard (will all be in a new "Other" category).
// $config['mod']['dashboard_links']['Something'] = '?/something';