Ejemplo n.º 1
0
 function __construct()
 {
     if (!Session::has('admin_id')) {
         Redirect::to('/emazze')->send();
     }
     // $unverifiedVendorsCount = AdminModel::getUnverifiedVendorsCount();
     $unnverifiedVendorIndividualsCount = AdminModel::getUnverifiedVendorIndividualsCount();
     $unnverifiedVendorCompaniesCount = AdminModel::getUnverifiedVendorCompaniesCount();
     $unnverifiedVendorsCount = $unnverifiedVendorIndividualsCount + $unnverifiedVendorCompaniesCount;
     // $unnverifiedVendorsCount = $unnverifiedVendorIndividualsCount;
     $share = array('unverifiedVendorsCount' => $unnverifiedVendorsCount);
     View::share($share);
 }