mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
fix various errorѕ
This commit is contained in:
parent
80b9c708fa
commit
c3b13c21b2
|
@ -21,7 +21,7 @@ SeedDMS_Lucene, SeedDMS_Preview, SeedDMS_SQLiteFTS.
|
||||||
'seeddms-5.1.x' are the sources of seeddms and 'www' being a link on it.
|
'seeddms-5.1.x' are the sources of seeddms and 'www' being a link on it.
|
||||||
|
|
||||||
This layout has disadvantages when updating the source of seeddms, because
|
This layout has disadvantages when updating the source of seeddms, because
|
||||||
the directories 'conf' and 'ext' has to be moved from 'seeddms-5.1.x' to
|
the directories 'conf' and 'ext' had to be moved from 'seeddms-5.1.x' to
|
||||||
'seeddms-5.1.(x+1)'. 'conf' was also visible over the web unless it was
|
'seeddms-5.1.(x+1)'. 'conf' was also visible over the web unless it was
|
||||||
protected by an .htaccess file. The .htaccess file has been shipped, but it
|
protected by an .htaccess file. The .htaccess file has been shipped, but it
|
||||||
is far better to keep senѕitive data out of the document root in the first
|
is far better to keep senѕitive data out of the document root in the first
|
||||||
|
@ -31,11 +31,14 @@ The new layout mostly retains that structure but uses more soft links to place
|
||||||
the local data outside of 'seeddms-5.1.x' which makes updating a lot easier
|
the local data outside of 'seeddms-5.1.x' which makes updating a lot easier
|
||||||
and moves the configuration out of the document root.
|
and moves the configuration out of the document root.
|
||||||
As MS Windows does not support soft links, this change will only apply to Linux/Unix
|
As MS Windows does not support soft links, this change will only apply to Linux/Unix
|
||||||
systems. The new layout is the following:
|
systems. MS Windows users just skip all the soft links and set seeddms-5.1.x
|
||||||
|
as the document root. The new layout is the following:
|
||||||
|
|
||||||
seeddms51x ---+--- data --+-- log
|
seeddms51x ---+--- data --+-- log
|
||||||
| |
|
| |
|
||||||
| +-- ext
|
| +-- cache
|
||||||
|
| |
|
||||||
|
| +-- 1048576
|
||||||
| |
|
| |
|
||||||
| +-- ...
|
| +-- ...
|
||||||
|
|
|
|
||||||
|
@ -69,17 +72,15 @@ seeddms51x ---+--- data --+-- log
|
||||||
|
|
|
|
||||||
+-- index.php -> ../seeddms/index.php
|
+-- index.php -> ../seeddms/index.php
|
||||||
|
|
|
|
||||||
+-- ext -> ../data/ext
|
+-- ext
|
||||||
|
|
||||||
In order to convert to this layout you need to do the following in the seeddms51x
|
In order to convert to this layout you need to do the following in the seeddms51x
|
||||||
directory:
|
directory:
|
||||||
|
|
||||||
ln -s seeddms-5.1.x seeddms
|
ln -s seeddms-5.1.x seeddms
|
||||||
mv www/conf .
|
mv www/conf .
|
||||||
mv www/ext data
|
|
||||||
rm www
|
|
||||||
mdkir www
|
|
||||||
cd www
|
cd www
|
||||||
|
rm inc op out views controllers styles languages webdav restapi pdfviewer index.php
|
||||||
ln -s ../seeddms/inc
|
ln -s ../seeddms/inc
|
||||||
ln -s ../seeddms/op
|
ln -s ../seeddms/op
|
||||||
ln -s ../seeddms/out
|
ln -s ../seeddms/out
|
||||||
|
@ -91,4 +92,3 @@ ln -s ../seeddms/webdav
|
||||||
ln -s ../seeddms/restapi
|
ln -s ../seeddms/restapi
|
||||||
ln -s ../seeddms/pdfviewer
|
ln -s ../seeddms/pdfviewer
|
||||||
ln -s ../seeddms/index.php
|
ln -s ../seeddms/index.php
|
||||||
ln -s ../data/ext
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user