annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
1 <?php
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
2 include_once("config.php");
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
3 include_once(INSTALL_PATH."/Settings.class.php");
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
4 include_once(INSTALL_PATH."/reclib.php" );
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
5
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
6 $settings = Settings::factory();
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
7 $settings->post();
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
8 $settings->save();
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
9
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
10 jdialog("設定が保存されました", "index.php" );
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
11 ?>