view systemSetting.php @ 100:6619fefc7056

make config.xml writable by anyone if it exists.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 04 Mar 2010 17:11:02 +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");
?>