Tengo un problema al entrar a mi sitio me dice:
Parse error: syntax error, unexpected T_REQUIRE in line 24.
He buscado en el foro y el error puede ser por no poner ; al final pero veo que si esta puesto.
Cualquier ayuda es agradecida.
Un saludo
Código PHP:
<?php
/**
*** Zen Grid 2.0 Joomla Template Framework is a commercial Joomla template from Joomla Bamboo
*** @author Joomlabamboo
*** @copyright (C) 2010 by Joomlabamboo
*** @license Commercial
**/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
// Non Framework variables
$ribbonText = $this->params->get("ribbonText", "");
// Javascript that gets loaded for individual templates and are not needed in the framework
$extraTemplateScript = "jQuery('#ribbon span').easyRotate({degrees: 45});";
$extraTemplateScripts = '<script type="text/JavaScript" src="'.$this->baseurl.'/templates/'.$this->template.'/js/jquery.easyRotate.js"></script>';
$logopath ="templates/$this->template/images/logo";
if(file_exists( home//usr/lib/php:/tmp{'DOCUMENT_ROOT'} . "/usr/local/apache/htdocs/templates/zengridframework/index.php")) :
require("templates/zengridframework/index.php");
else :
?>
<body style="background:#f9f9f9">
<div style="width:500px;margin:140px auto;height:70px;background:#fffbcc;padding:20px;border:1px solid #ddd;color:#444;line-height:2em">The template you are attempting to use requires the Zen Grid2 Framework.<br /> Please refer to the Zen Grid2 framework documentation for more information.</div>
</body>
<?php
endif;
?>