mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
corrected locations
This commit is contained in:
parent
23717a00ff
commit
4b23402174
@ -19,7 +19,7 @@
|
|||||||
echo "</pre></body></html>";
|
echo "</pre></body></html>";
|
||||||
break;
|
break;
|
||||||
case "write config":
|
case "write config":
|
||||||
if(!is_writeable ($server_root."/header.inc.php")){
|
if(!is_writeable ("../header.inc.php")){
|
||||||
show_header("Error generating header.inc.php");
|
show_header("Error generating header.inc.php");
|
||||||
echo "Could not open header.inc.php for writing!<br>\n";
|
echo "Could not open header.inc.php for writing!<br>\n";
|
||||||
echo "Please check read/write permissions on directories or back up and use another option.<br>";
|
echo "Please check read/write permissions on directories or back up and use another option.<br>";
|
||||||
@ -27,7 +27,7 @@
|
|||||||
}else{
|
}else{
|
||||||
show_header("Saved header.inc.php");
|
show_header("Saved header.inc.php");
|
||||||
$newheader = generate_header();
|
$newheader = generate_header();
|
||||||
$fsetup = fopen($server_root."/header.inc.php","w");
|
$fsetup = fopen("../header.inc.php","w");
|
||||||
fwrite($fsetup,$newheader);
|
fwrite($fsetup,$newheader);
|
||||||
fclose($fsetup);
|
fclose($fsetup);
|
||||||
echo "Created header.inc.php!<br>";
|
echo "Created header.inc.php!<br>";
|
||||||
@ -174,7 +174,7 @@
|
|||||||
echo "<br>";
|
echo "<br>";
|
||||||
echo "<form>";
|
echo "<form>";
|
||||||
|
|
||||||
if(is_writeable ($server_root."/header.inc.php")){
|
if(is_writeable ("../header.inc.php")){
|
||||||
echo '<input type=submit name="action" value="write config">';
|
echo '<input type=submit name="action" value="write config">';
|
||||||
}else{
|
}else{
|
||||||
echo 'Cannot create the header.inc.php due to file permission restrictions.<br> Instead you can ';
|
echo 'Cannot create the header.inc.php due to file permission restrictions.<br> Instead you can ';
|
||||||
|
Loading…
Reference in New Issue
Block a user