fixed dayz xml
This commit is contained in:
parent
ea75fef77b
commit
1881c07860
2 changed files with 7 additions and 7 deletions
|
|
@ -28,7 +28,7 @@ define("XML_SCHEMA","modules/config_games/schema_server_config.xml");
|
|||
if (!function_exists('ogp_render_config_error')) {
|
||||
function ogp_render_config_error($title, $details = "")
|
||||
{
|
||||
$log_message = "[OGP] $title" . (empty($details) ? "" : " Details: $details");
|
||||
$log_message = "[GSP] $title" . (empty($details) ? "" : " Details: $details");
|
||||
error_log($log_message);
|
||||
|
||||
if (PHP_SAPI === 'cli') {
|
||||
|
|
@ -41,7 +41,7 @@ if (!function_exists('ogp_render_config_error')) {
|
|||
}
|
||||
|
||||
echo "<div style=\"font-family:Arial,Helvetica,sans-serif;max-width:720px;margin:4rem auto;padding:2rem;border:1px solid #c0392b;border-radius:6px;background:#fff7f7;color:#333;\">";
|
||||
echo "<h1 style=\"margin-top:0;color:#c0392b;\">Open Game Panel</h1>";
|
||||
echo "<h1 style=\"margin-top:0;color:#c0392b;\">GSP</h1>";
|
||||
echo "<h2 style=\"color:#c0392b;\">$title</h2>";
|
||||
if (!empty($details)) {
|
||||
echo "<p>" . nl2br(htmlspecialchars($details, ENT_QUOTES, 'UTF-8')) . "</p>";
|
||||
|
|
|
|||
|
|
@ -70,18 +70,18 @@ Make sure if you install a MOD, you list the name here or else it wont get loade
|
|||
mkdir -p ./cfg
|
||||
touch ./cfg/dayz_arma2co_win32.xml.txt
|
||||
|
||||
wget http://files.iaregamer.com/gamefiles/arma2Addons.tar
|
||||
tar -xzvf arma2Addons.tar
|
||||
wget --progress=dot:giga http://files.iaregamer.com/gamefiles/arma2Addons.tar
|
||||
tar -xvf arma2Addons.tar
|
||||
rm -f arma2Addons.tar
|
||||
|
||||
wget http://files.iaregamer.com/gamefiles/dayzmod1.9.0.tar
|
||||
tar -xzvf dayzmod1.9.0.tar
|
||||
wget --progress=dot:giga http://files.iaregamer.com/gamefiles/dayzmod1.9.0.tar
|
||||
tar -xvf dayzmod1.9.0.tar
|
||||
rm -f dayzmod1.9.0.tar
|
||||
|
||||
|
||||
#Create Database ---------------------------------------
|
||||
|
||||
dbPass=$(</dev/urandom tr -dc _A-Z-a-z-0-9 | head -c8)
|
||||
dbPass=$(</dev/urandom tr -dc _A-Z-a-z-0-9 | head -c8)
|
||||
srvID=${PWD##*/}
|
||||
dbID=server_${srvID}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue