aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMichael Johnston <michaelgeorgejohnston@gmail.com>2012-04-01 21:28:31 -0400
committerMichael Johnston <michaelgeorgejohnston@gmail.com>2012-04-01 21:28:31 -0400
commit581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5 (patch)
treec2a3f1e1d1aaf5e3e2f6d9b194e91d6b8b401cdd /boot.php
parent06e9a8b7a0d6b5be141563c77ae3a71e9998b81f (diff)
downloadvolse-hubzilla-581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5.tar.gz
volse-hubzilla-581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5.tar.bz2
volse-hubzilla-581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5.zip
allow users to set categories on their posts
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 2f2e28ceb..c2690f6ef 100755
--- a/boot.php
+++ b/boot.php
@@ -293,6 +293,8 @@ class App {
public $nav_sel;
+ public $category;
+
private $scheme;
private $hostname;
private $baseurl;
@@ -377,6 +379,9 @@ class App {
$this->argc = count($this->argv);
if((array_key_exists('0',$this->argv)) && strlen($this->argv[0])) {
$this->module = str_replace(".", "_", $this->argv[0]);
+ if(array_key_exists('2',$this->argv)) {
+ $this->category = $this->argv[2];
+ }
}
else {
$this->argc = 1;