OSDN Git Service

FIX: AdminActions::parse_date()が不要なBlogオブジェクトをコンストラクトしていたのを修正
[nucleus-jp/nucleus-next.git] / createaccount.php
1 <?php\r
2 /*\r
3  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
4  * Copyright (C) 2002-20011 The Nucleus Group\r
5  *\r
6  * This program is free software; you can redistribute it and/or\r
7  * modify it under the terms of the GNU General Public License\r
8  * as published by the Free Software Foundation; either version 2\r
9  * of the License, or (at your option) any later version.\r
10  * (see nucleus/documentation/index.html#license for more info)\r
11  */\r
12 \r
13 /**\r
14  * Registration form for new users\r
15  * @license http://nucleuscms.org/license.txt GNU General Public License\r
16  * @copyright Copyright (C) 2002-20011 The Nucleus Group\r
17  * @version $Id: createaccount.php 1624 2012-01-09 11:36:20Z sakamocchi $\r
18  */\r
19 \r
20 // we are using admin stuff:\r
21 $CONF = array();\r
22 $CONF['UsingAdminArea'] = 1;\r
23 \r
24 require_once "./config.php";\r
25 include_libs('ACTION.php');\r
26 \r
27 if ( !Admin::initialize() )\r
28 {\r
29         /* TODO: something to handling errors */\r
30         exit;\r
31 }\r
32 \r
33 Admin::action('createaccount');\r
34 exit;\r