OSDN Git Service

FIX:アップグレードスクリプトがNucleus3.6上で動作するように修正
[nucleus-jp/nucleus-next.git] / createaccount.php
1 <?php
2 /*
3  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
4  * Copyright (C) 2002-20011 The Nucleus Group
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  * (see nucleus/documentation/index.html#license for more info)
11  */
12
13 /**
14  * Registration form for new users
15  * @license http://nucleuscms.org/license.txt GNU General Public License
16  * @copyright Copyright (C) 2002-20011 The Nucleus Group
17  * @version $Id: createaccount.php 1888 2012-06-17 08:38:54Z sakamocchi $
18  */
19
20 // we are using admin stuff:
21 $CONF = array();
22 $CONF['UsingAdminArea'] = 1;
23
24 require_once "./config.php";
25 include_libs('ACTION.php');
26
27 if ( !Admin::initialize() )
28 {
29         /* TODO: something to handling errors */
30         exit;
31 }
32
33 Admin::action('createaccount');
34 exit;