-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
66 lines (65 loc) · 2.01 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<html>
<head>
<title>First steps of symlinked Joomla installation</title>
<style>
table, tr, td {
border: solid 1px;
}
</style>
</head>
<body>
<form method="POST" action="remotes.php">
<table style="width:576px;">
<caption>
<h2>Symlinked Joomla site - preparing for installation</h2>
<h3>Before you start installing new site you should prepare your environment creating access to the main Joomla source files. Be aware that your server supports symlinks!</h3>
</caption>
<tr><td colspan="2">
Submit full path to the target directory where your main Joomla site is installed.<br />
<strong>Don't forget to add / at the end!</strong><br />
If you are in a subdomain then your document root (that should be a default value in textbox) may contain also your subdomain's main folder after public_html (or whatever else). You may have to replace it with right folder path.</td></tr>
<tr><td colspan="2">
<input type="text" name="target" id="target" style="width:100%" value="<?php echo $_SERVER['DOCUMENT_ROOT']; ?>/" /></td>
</tr>
<tr>
<td colspan="2">
Now decide what do you want to do with image folder - to have just a symlink, only own folder or both.
</td>
</tr>
<tr>
<td>
I don't need own image folder, let's create just a symlink to the source
</td>
<td>
<input type="radio" name="images" id="images" value="0" checked>
</td>
</tr>
<tr>
<td>
I need an own image folder, no symlink
</td>
<td>
<input type="radio" name="images" id="images" value="1">
</td>
</tr>
<tr>
<td>
I need an image folder and a symlink inside it
</td>
<td>
<input type="radio" name="images" id="images" value="2">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="Submit"></a>
</td>
</tr>
</table>
<p>Symlinked Joomla installation can heavily save space in your file storage and prevent increasing your inode number which is very important i.e. when your payments for shared web hosting are depending on how much inodes you have in your account.</p>
Regards,<br />
Jaanus Nurmoja<br />
Rakvere, Estonia<br />
jaanus.nurmoja@gmail.com<br /><br />
</body>
</html>