Base (root) script added for ext-autoreg
authorRoland Häder <roland@mxchange.org>
Fri, 1 Jan 2010 14:41:11 +0000 (14:41 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 1 Jan 2010 14:41:11 +0000 (14:41 +0000)
.gitattributes
DOCS/TODOs.txt
autoreg.php [new file with mode: 0644]

index 67d78ae..5eec9e1 100644 (file)
@@ -74,6 +74,7 @@ DOCS/tpl-validator.php -text
 DOCS/validator.sh -text
 /admin.php -text
 /agb.php -text
+/autoreg.php -text
 /beg.php -text
 /birthday_confirm.php -text
 /click.php -text
index aa63660..9bc0f08 100644 (file)
@@ -1,5 +1,6 @@
 ### WARNING: THIS FILE IS AUTO-GENERATED BY ./DOCS/todo-builder.sh (uid=/user=quix0r) ###
 ### DO NOT EDIT THIS FILE. ###
+./autoreg.php:59:// @TODO Add processing of request here
 ./beg.php:172:                 // @TODO Opps, what is missing here???
 ./birthday_confirm.php:93:             // @TODO Try to rewrite the following unset()
 ./inc/autopurge/purge-inact.php:56:    // @TODO Rewrite these if() blocks to a filter
diff --git a/autoreg.php b/autoreg.php
new file mode 100644 (file)
index 0000000..3f53e3d
--- /dev/null
@@ -0,0 +1,65 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 01/01/2010 *
+ * ===================                          Last change: 01/01/2010 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : autoreg.php                                      *
+ * -------------------------------------------------------------------- *
+ * Short description : The surfbar itself                               *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Die Surfbar selbst                               *
+ * -------------------------------------------------------------------- *
+ * $Revision:: 1642                                                   $ *
+ * $Date:: 2009-12-04 07:41:11 +0100 (Fri, 04 Dec 2009)               $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: quix0r                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * For more information visit: http://www.mxchange.org                  *
+ *                                                                      *
+ * 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.                                  *
+ *                                                                      *
+ * This program is distributed in the hope that it will be useful,      *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
+ * GNU General Public License for more details.                         *
+ *                                                                      *
+ * You should have received a copy of the GNU General Public License    *
+ * along with this program; if not, write to the Free Software          *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
+ * MA  02110-1301  USA                                                  *
+ ************************************************************************/
+
+// Load security stuff here
+require('inc/libs/security_functions.php');
+
+// Init start time
+$GLOBALS['startTime'] = microtime(true);
+
+// Set module
+$GLOBALS['module'] = 'autoreg';
+$GLOBALS['output_mode'] = '1';
+$GLOBALS['header_sent'] = 3;
+
+// Load the required file(s)
+require('inc/config-global.php');
+
+// Set content type
+setContentType('text/plain');
+
+// Load header
+loadIncludeOnce('inc/header.php');
+
+// @TODO Add processing of request here
+
+// Load footer
+loadIncludeOnce('inc/footer.php');
+
+// [EOF]
+?>