OSDN Git Service

Merge branch 'skinnable-master'
[nucleus-jp/nucleus-next.git] / nucleus / forgotpassword.php
diff --git a/nucleus/forgotpassword.php b/nucleus/forgotpassword.php
new file mode 100644 (file)
index 0000000..e6b9963
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+/*
+ * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
+ * Copyright (C) 2002-20011 The Nucleus Group
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * (see nucleus/documentation/index.html#license for more info)
+ */
+
+/**
+ * Registration form for new users
+ * @license http://nucleuscms.org/license.txt GNU General Public License
+ * @copyright Copyright (C) 2002-20011 The Nucleus Group
+ * @version $Id: forgotpassword.php 1888 2012-06-17 08:38:54Z sakamocchi $
+ */
+
+// we are using admin stuff:
+$CONF = array();
+$CONF['UsingAdminArea'] = 1;
+
+require_once "../config.php";
+include_libs('ACTION.php');
+
+if ( !Admin::initialize() )
+{
+       /* TODO: something to handling errors */
+       exit;
+}
+
+Admin::action('forgotpassword');
+exit;