Enabling the File Manager


Enabling the File Manager

Esta página en Español, Esta página em Português

1. Edit the bases/site/xml/??/adm.xml files, inserting the corresponding line to the File Manager's call below the Texts option, according to the sample below:

<item href="javascript:fnow('/admin/fnow/index.php?lang=en')">File Manager</item>

NOTE: The lang parameter changes according to the current language and the text of the calling must also be translated.

2. create an .htaccess file below htdocs/local/ containing the following lines:

RewriteEngine on
RewriteRule ^([a-zA-Z0-9\ \.\/\-\,\_]*)$ /php/getLocalFile.php?f=$1

NOTE: In case the file already exists it is not necessary to edit it or overwrite it.

3. create below bases/site a local directory e below it the subdirectories: file, flash, images and media.


NOTE: In case the folders already exist it is not necessary to change anything.

4. directories privileges for local structure must be set to 777 in case the owner is not Apache. Otherwise, can be set to 775.

5. In Apache configuration file (httpd-vhosts.conf) the option AllowOverride must be set to All to htdocs/ directory.

6. Check if the rewrite module mod_rewrite has been loaded in Apache. Under Windows uncomment the line below from the httpd.conf file and restart Apache:

LoadModule rewrite_module modules/mod_rewrite.so

7. uncomment the line below from the httpd.conf file and restart Apache:

Include conf/extra/httpd-default.conf

8. in the file include_config_system.php below htdocs/admin/fnow do the following changes:


} else {
    define("pHOME", $def['SITE_PATH']);
    $cfg["base_directory"] = "local/";


} else {
    define("pHOME", $def['DATABASE_PATH']);
    $cfg["base_directory"] = "local/";

NOTE: In case one is using IIS as web server, it is not possible to set FNOW to upload files to the BASES directory, therefore the step 8 MUST NOT be done.

Herramientas personales