Index: /extensions/metasimple/main.inc.php
===================================================================
--- /extensions/metasimple/main.inc.php	(revision 7517)
+++ /extensions/metasimple/main.inc.php	(revision 7524)
@@ -26,5 +26,5 @@
   //meta homepage
 	{
-		global $template, $page, $meta_infosdesc;
+		global $template, $page, $meta_infosdesc, $conf;
 	$meta_infosdesc = array();
 	$meta_infosdesc['info'] = $template->get_template_vars('INFO_FILE');
@@ -32,16 +32,17 @@
 	$meta_infosdesc['comment'] = $template->get_template_vars('COMMENT_IMG');
   
-  if (isset($page['section']) and $page['section'] == 'categories' and empty($page['category']['id']))
+	 if (isset($page['section']) and $page['section'] == 'categories' and empty($page['category']['id']))
 		{
-		$descindex='ttz';
-  				if (!empty($descindex))
-					{
-						$template->assign('COMMENT_IMG', $descindex);
-						$template->clear_assign('INFO_FILE');
-					}
+			$descindex = & $conf['metasimple'];		
+  			if (!empty($descindex))
+				{
+					$template->assign('COMMENT_IMG', $descindex);
+					$template->clear_assign('INFO_FILE');
+				}
 		}
 	}
 
 function add_metadesccat()
+  //meta albums
 	{
 		global $template, $page, $meta_infosdesc;
@@ -68,4 +69,5 @@
 
 function add_metadescimg()
+  //meta photos
 	{
 		global $template, $page, $meta_infosdesc;
