Skip to content

Commit

Permalink
commented out lines 112 to 117 to remove error about demo.txt error w…
Browse files Browse the repository at this point in the history
…hen installing via For XAMPP People option

git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@374 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
ronm123 committed Jul 12, 2012
1 parent 108ddd2 commit 86870dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/xampp.php
Expand Up @@ -109,12 +109,12 @@
if(!is_writeable('../index.php')) {
echo "Check your file permissions, index.php file is not writeable by the web server; you will want to replace index.php with demo.txt";
}
if(is_file('../index.php') && is_writeable('../index.php')) {
/*if(is_file('../index.php') && is_writeable('../index.php')) {
@copy("../index.php","../index.txt");
if(copy("../demo.txt","../index.php")) {
echo "<p>Login requirement removed; using demo.txt as index.php page (index.php -&gt; index.txt && demo.txt -&gt index.php).</p>";
}
}
}*/

// update DB so it should work on Windows and OSX installs - rather than being hard coded to WAMP installs...
$site_url = 'http://' . $_SERVER['HTTP_HOST'] . dirname(dirname($_SERVER['REQUEST_URI']));
Expand Down

0 comments on commit 86870dd

Please sign in to comment.