-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
53 lines (35 loc) · 1.71 KB
/
Copy pathREADME
File metadata and controls
53 lines (35 loc) · 1.71 KB
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
Module : @TITLE@
Version : @VERSION@
Authors : Thomas Seifert
Maurice Makaay
@DESCRIPTION@
This is an advanced module for users that have a problem with storing
files in the database. Don't just do this because you read on a blog
somewhere that putting files in a database is bad.
For running this mod, you need Phorum 5.2.0 or later. It will not
work for earlier versions of Phorum.
Installation:
-------------
- Unpack the archive;
- Move the directory "@MODULE_ID@" to the directory "mods"
within your Phorum installation;
- Login as administrator in Phorum's administrative interface and
go to the "Modules" section;
- Go to the settings screen for the module. On the settings screen,
configure the directory that you want to use for storing the Phorum
files. The webserver must be allowed to write to this directory.
- After editing the settings, go back the the "Modules" section and
enable the module "@TITLE@".
Converting files that are already stored in the database:
---------------------------------------------------------
This module contains an on-the-fly conversion mechanism, which will convert
files that are stored in the database to disk storage, right at the moment
that they are requested. This mechanism will gradually convert the available
files to the disk storage.
If you want to forcibly convert all available files to file storage,
then you can use the conversion script console_convert.php that you
can find in the module directory. This script's intended use it to
run it from the system command prompt, using the PHP interpreter. Example:
$ php console_convert.php
Converting database file storage to disk based storage ...
converting 19 / 19 [====================] (100%)