summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 721cff41..987777ef 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1089,6 +1089,18 @@
// Connection timeout, in seconds
$config['purge_timeout'] = 3;
+ // Additional mod.php?/ pages (for developers). Look in inc/mod/pages.php for help.
+ //$config['mod']['custom_pages']['/something/(\d+)'] = function($id) {
+ // global $config;
+ // if (!hasPermission($config['mod']['something']))
+ // error($config['error']['noaccess']);
+ // // ...
+ //};
+
+ // Add links to dashboard (will all be in "Other" category)
+ $config['mod']['dashboard_links'] = array();
+ // $config['mod']['dashboard_links']['Something'] = '?/something';
+
// Remote servers
// http://tinyboard.org/wiki/index.php?title=Multiple_Servers
//$config['remote']['static'] = array(