diff options
author | friendica <info@friendica.com> | 2012-04-01 19:03:20 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-01 19:03:20 -0700 |
commit | 07cfdba9c36d1887b2e9b53ab8054d5140a59f53 (patch) | |
tree | c2a3f1e1d1aaf5e3e2f6d9b194e91d6b8b401cdd /boot.php | |
parent | 06e9a8b7a0d6b5be141563c77ae3a71e9998b81f (diff) | |
parent | 581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5 (diff) | |
download | volse-hubzilla-07cfdba9c36d1887b2e9b53ab8054d5140a59f53.tar.gz volse-hubzilla-07cfdba9c36d1887b2e9b53ab8054d5140a59f53.tar.bz2 volse-hubzilla-07cfdba9c36d1887b2e9b53ab8054d5140a59f53.zip |
Merge pull request #200 from unary/categories
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; |