support forum for more information.'); } // Check if system is already installed include '/app/database_info.php'; if (SYSTEM_INSTALLED === true) { die('System is already installed. To reinstall, delete the database_info.php file in /app/.'); } // Report all errors except E_NOTICE, because it screws things up... error_reporting(E_ALL ^ E_NOTICE); // Get the installation class require_once('Install.class.php'); $install = new Install(); // Check if app is hosted if(array_key_exists('PCM_Hosted', getallheaders())) { die('This is a hosted application. You may only run the installer on your locally hosted installations.'); } if (isset($_POST['process'])) { // Install the system if (!$install->install_system()) { foreach($install->install_error as $errMsg) { echo "
  • ".$errMsg."
  • "; } } } else { ?> Install
    SQL Setup
    Table Prefix:
    Database Type:
    Database Port:
    Database Server Name:
    Database Name:
    Database Username:
    Database Password (default is ChangeMe7492#&!):

    Cookie Information
    Cookie Prefix:
    Cookie Path:
    Cookie Secure:
    Cookie Length:
    Cookie Domain:
    Security Information
    Maximum Login Attempts:
    Maximum Upload Size:
    Public Registrations:
    User Settings
    Maximum Username Length:
    Minimum Username Length:
    Maximum Password Length:
    Minimum Password Length:
    Activation Type:
    User Regex:
    Login Redirect URL:
    Logout Redirect URL:
    Default Group Name:
    Mask Name for Default Group:
    Redirect Type:
    Online Users Format:
    Online Users Separator:

    Administrator User Information
    Username:
    Email Address:
    Confirm:
    Password:
    Confirm:

    The installation will take a minute or two. You will be automatically redirected to the login page upon completion.