This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
if (posix_getuid() !== 0){ | |
die("Please run this as root/sudo\n"); | |
} | |
$apacheTemplate = "<VirtualHost *:port> | |
ServerAdmin server_admin | |
ServerName server_name | |
ServerAlias server_alias |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ManiaLive - Freezone Plugin | |
* | |
* @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com) | |
* @version $Revision: 3705 $: | |
* @author $Author: philippe $: | |
* @date $Date: 2011-05-09 13:04:04 +0200 (lun., 09 mai 2011) $: | |
*/ |