view postsettings.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."/Settings.class.php");
include_once(INSTALL_PATH."/reclib.php" );

$settings = Settings::factory();
$settings->post();
$settings->save();

jdialog("設定が保存されました", "index.php" );
?>