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 "