<?php
/*
@note:
change the RewriteBase in your htaccess file to your site base url
@example:
type url in address bar as http://www.site.com/category/subcategory/subsubcategory/product
or
http://www.site.com/category/subcategory/subsubcategory/product.html
*/
$config = array();
$config['db_host'] = "localhost";
$config['db_name'] = "mvc";
$config['db_user'] = "root";
$config['db_pass'] = "cyba";
$config['site_name'] = "breadcrumbs";
$config['http_host'] = "http://".$_SERVER['HTTP_HOST']."/".$config['site_name']."/";
include_once("breadCrumbs.php");
$bc = new breadCrumbs($config['http_host'],$config['site_name'],"lnkfeatured");
$bread_crumbs = $bc->getBreadCrumbs();
echo $bread_crumbs;
?>
|