summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-02-06 17:42:25 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-02-06 17:42:25 +1100
commit75421c1ccbe112f8123dfe8aabae8a177e0b8ee2 (patch)
tree94c13c69f9044696e1867833de61e524d66a19c2 /inc
parent147a4e29ded21beeea80b3b4155af9d41f743057 (diff)
...
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/inc/config.php b/inc/config.php
index 52645b77..ce7be4ad 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -40,7 +40,8 @@
'allowed_ext' => Array(),
'allowed_ext_files' => Array(),
'file_icons' => Array(),
- 'footer' => Array()
+ 'footer' => Array(),
+ 'stylesheets' => Array()
);
/* End ignore */
@@ -482,11 +483,8 @@
// $config['banner_height'] = 100;
// Custom stylesheets available. The prefix for each stylesheet URI is defined below.
- $config['stylesheets'] = Array(
- // Stylesheet name => URI
- 'Yotsuba B' => 'default.css',
- 'Yotsuba' => 'yotsuba.css'
- );
+ $config['stylesheets']['Yotsuba B'] = 'default.css';
+ $config['stylesheets']['Yotsuba'] = 'yotsuba.css';
// $config['stylesheets']['Futaba'] = 'futaba.css';
// The prefix for each stylesheet URI. Defaults to $config['root']/stylesheets/
@@ -831,8 +829,6 @@
$config['mod']['rawhtml'] = MOD;
/* Administration */
- // Display the contents of instance-config.php
- $config['mod']['show_config'] = ADMIN;
// View the report queue
$config['mod']['reports'] = JANITOR;
// Dismiss an abuse report
@@ -901,6 +897,11 @@
// Delete news entries
$config['mod']['news_delete'] = ADMIN;
+ // View the current configuration
+ $config['mod']['show_config'] = ADMIN;
+ // Edit the current configuration (via web interface)
+ $config['mod']['edit_config'] = ADMIN;
+
/*
* ====================
* Other/uncategorized