collection_category.php ---set value of thumb_dir variable.

This commit is contained in:
shakeel-dev 2014-11-27 14:23:00 +00:00
parent b5b2291109
commit 1367cd335f

View file

@ -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']));