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

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

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