view systemSetting.php @ 103:368a68c9d579

added fail safe hack
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 01:25:16 +0900
parents 68de7a0e44cd
children
line wrap: on
line source

<?php
include_once("config.php");
include_once(INSTALL_PATH."/Smarty/Smarty.class.php");
include_once(INSTALL_PATH."/Settings.class.php");

$settings = Settings::factory();
$smarty = new Smarty();

$smarty->assign( "settings", $settings );
$smarty->assign( "install_path", INSTALL_PATH );
$smarty->assign( "post_to", "postsettings.php" );
$smarty->assign( "sitetitle", "システム設定" );
$smarty->assign( "message", '<a href="index.php">設定せずに番組表に戻る</a>' );

$smarty->display("systemSetting.html");
?>