diff options
author | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2012-04-01 21:28:31 -0400 |
---|---|---|
committer | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2012-04-01 21:28:31 -0400 |
commit | 581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5 (patch) | |
tree | c2a3f1e1d1aaf5e3e2f6d9b194e91d6b8b401cdd /boot.php | |
parent | 06e9a8b7a0d6b5be141563c77ae3a71e9998b81f (diff) | |
download | volse-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-x | boot.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |