view postsettings.php @ 138:9a27c517df8f

include settings/config_custom.php if it exists so that the default settings may be overridden by the custom settings.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 21 Mar 2010 04:01:33 +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" );
?>