| | |
| | | <?php |
| | | |
| | | /* |
| | | Copyright (c) 2007, Till Brehm, projektfarm Gmbh |
| | | Copyright (c) 2007-2010, Till Brehm, projektfarm Gmbh |
| | | All rights reserved. |
| | | |
| | | Redistribution and use in source and binary forms, with or without modification, |
| | |
| | | |
| | | //** The banner on the command line |
| | | echo "\n\n".str_repeat('-',80)."\n"; |
| | | echo " _____ ___________ _____ __ _ |
| | | |_ _/ ___| ___ \ / __ \ / _(_) |
| | | | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ |
| | | | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |
| | | _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | |
| | | \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | |
| | | echo " _____ ___________ _____ __ _ ____ |
| | | |_ _/ ___| ___ \ / __ \ / _(_) /__ \ |
| | | | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ / |
| | | | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ | |
| | | _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \ |
| | | \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/ |
| | | __/ | |
| | | |___/ "; |
| | | echo "\n".str_repeat('-',80)."\n"; |
| | |
| | | die('This software can not be installed on a server wich runs ISPConfig 2.x.'); |
| | | } |
| | | |
| | | if(is_dir('/usr/local/ispconfig')) { |
| | | die('ISPConfig 3 installation found. Please use update.php instead if install.php to update the installation.'); |
| | | } |
| | | |
| | | //** Detect the installed applications |
| | | $inst->find_installed_apps(); |
| | | |