collection_category.php ---set value of thumb_dir variable.
This commit is contained in:
parent
b5b2291109
commit
1367cd335f
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ if(!defined('SUB_PAGE')){
|
|||
|
||||
//Form Processing
|
||||
if(isset($_POST['add_cateogry'])){
|
||||
$cbcollection->thumb_dir = "collections";
|
||||
$cbcollection->add_category($_POST);
|
||||
}
|
||||
|
||||
|
@ -37,6 +38,7 @@ if(isset($_GET['category'])){
|
|||
assign("edit_category","show");
|
||||
if(isset($_POST['update_category']))
|
||||
{
|
||||
$cbcollection->thumb_dir = "collections";
|
||||
$cbcollection->update_category($_POST);
|
||||
}
|
||||
assign('cat_details',$cbcollection->get_category($_GET['category']));
|
||||
|
|
Loading…
Add table
Reference in a new issue