allow users to set categories on their posts

This commit is contained in:
Michael Johnston
2012-04-01 21:28:31 -04:00
parent 06e9a8b7a0
commit 581b54c974
11 changed files with 226 additions and 18 deletions

View File

@@ -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;