update fix 4

This commit is contained in:
Karl Hudgell 2015-11-14 15:28:49 +00:00
parent 20b1593416
commit a2078f81c1
2 changed files with 13 additions and 7 deletions

8
ImportLines.bat Normal file
View File

@ -0,0 +1,8 @@
CACLS *.* /e /p everyone:f
echo ^<?php >>config.php
echo $knews = "http://knews.cf"; >> config.php
echo $kloud = "https://k-loud.cf"; >> config.php
echo $konvos = "http://konvos.cf"; >> config.php
echo ^?^> >> config.php

View File

@ -1,9 +1,7 @@
git.exe pull
CACLS *.* /e /p everyone:f
echo ^<?php >>config.php
echo $knews = "http://knews.cf"; >> config.php
echo $kloud = "https://k-loud.cf"; >> config.php
echo $konvos = "http://konvos.cf"; >> config.php
echo ^?^> >> config.php
findstr "knews.cf" config.php >nul 2>&1
if errorlevel 1 findstr "k-loud.cf" config.php >nul 2>&1
if errorlevel 1 findstr "konvos.cf" config.php >nul 2>&1
if errorlevel 1 ImportLines.bat
if errorlevel 0 echo Complete