modifica il file myevent.php...
Codice PHP:
<? } include $myevent_path."event.php";
if ( $view != 2 )
{
$tablewidth = 100/7 ;
include $myevent_path."calendar.php";
}
?>
Questo pezzo di codice è quello che stampa in breve il calendario... però devi anche includere tutti i file che vengono inclusi sopra. Basta aggiungere il seguente all'inizio del codice:
Codice PHP:
<?
define('IN_MYEVENT', true);
$myevent_path ="";
include_once $myevent_path."config.php";
include_once $myevent_path."initialize.php";
include_once $myevent_path."lang_eng.php";
include_once $myevent_path."includes/template.php" ;
$_SERVER['SCRIPT_NAME'] = $path;
$path = preg_replace($html_entities_match, $html_entities_replace, $path);
$_SERVER['PHP_SELF']=$path;
?>