aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-09-20 03:24:38 +0100
committerThomas Willingham <founder@kakste.com>2013-09-20 03:24:38 +0100
commit30f85a19b1bee0ffaf2505db8d48f647dfee9ad1 (patch)
tree915b944b8448699abd2375a70a8b33ed01c4564b /mod/directory.php
parent49cfca4b4cc60f332024a048a80e61e1fb39eb0f (diff)
downloadvolse-hubzilla-30f85a19b1bee0ffaf2505db8d48f647dfee9ad1.tar.gz
volse-hubzilla-30f85a19b1bee0ffaf2505db8d48f647dfee9ad1.tar.bz2
volse-hubzilla-30f85a19b1bee0ffaf2505db8d48f647dfee9ad1.zip
Use get_config
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index c3c1a30d5..cc4e7e81f 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -70,7 +70,7 @@ function directory_content(&$a) {
if($url) {
// We might want to make the tagadelic count (&kw=) configurable or turn it off completely.
- $numtags = $a->config['system']['directorytags'];
+ $numtags = get_config('system','directorytags');
$kw = ((intval($numtags)) ? $numtags : 24);
$query = $url . '?f=&kw=' . $kw;