Skip to content

Commit

Permalink
fix path output to the end user - do not have duplicte setup dirs
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@223 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Nov 2, 2011
1 parent d6ffd17 commit 18d589a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions setup/file_system_iframe.php
@@ -1,19 +1,14 @@
<html>
<head>
<style>

html{

font-family:arial;

}

</style>

</head>
<body>

<?PHP
<?php

$file = str_replace("setup","",getcwd());

Expand Down Expand Up @@ -189,7 +184,7 @@
$work = false;

?>
<p>The file <?PHP echo str_replace("\\","/",getcwd()); ?>/setup/database.txt was not set to be writable - this means future pages will not work. Please edit this file before continuing.
<p>The file <?PHP echo str_replace("\\","/",getcwd()); ?>/database.txt was not set to be writable - this means future pages will not work. Please edit this file before continuing.
<?PHP

}
Expand All @@ -199,15 +194,15 @@
$work = false;

?>
<p>The file <?PHP echo str_replace("\\","/",getcwd()); ?>/setup/database.txt could not be written too - this means future pages will not work. Please edit this file before continuing.
<p>The file <?PHP echo str_replace("\\","/",getcwd()); ?>/database.txt could not be written too - this means future pages will not work. Please edit this file before continuing.
<?PHP

}

if($work){

?>
<p>The file <?PHP echo str_replace("\\","/",getcwd()); ?>/setup/database.txt has been successfully written to.
<p>The file <?PHP echo str_replace("\\","/",getcwd()); ?>/database.txt has been successfully written to.
<?PHP


Expand All @@ -217,4 +212,4 @@
?>
<form action="file_system_iframe.php">
<input type="submit" value="Try again" />
</form>
</form>

0 comments on commit 18d589a

Please sign in to comment.