]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-functions.php
Maybe this helps a little more to understand that what=NULL will be set here?
[mailer.git] / inc / install-functions.php
index 4d7059a11f56d31d5d0b5c623887b611f8d6886d..d8e81ff5a7aae000fcc84757b7f48780c49cb3de 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * 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                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * MA  02110-1301  USA                                                  *
  ************************************************************************/
 
-/************************************************************************
- *      YOU MAY ALSO WANT TO REMOVE THIS FILE AFTER INSTALLTION!        *
- ************************************************************************/
-
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
@@ -102,6 +96,21 @@ function addToInstallContent ($out) {
        } // END - if
 }
 
+// Somewhat getter for installer content
+function getInstallerContent () {
+       // Is it here?
+       if (isset($GLOBALS['install_content'])) {
+               // Yes, then use it
+               $content = $GLOBALS['install_content'];
+       } else {
+               // Nothing found, this needs fixing
+               $content = loadTemplate('admin_settings_saved', true, '{--INSTALLER_CONTENT_404--}');
+       }
+
+       // Return content
+       return $content;
+}
+
 // Read a given SQL dump
 function readSqlDump ($FQFN) {
        // Load the file