From ee8d724d20da2bd6e702b53269dbf825f62a2e08 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 30 Jul 2014 19:31:52 +0200 Subject: [PATCH] Enablefckeditor (and images uploads) --- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist | 2 +- root/etc/e-smith/templates/etc/phplist/config.php/50Options | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist index d5e751f..f243243 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist @@ -19,7 +19,7 @@ if ($status eq 'enabled') { $alias - Options None + Options None +FollowSymLinks AllowOverride None DirectoryIndex index.php AddType application/x-httpd-php .php .php3 diff --git a/root/etc/e-smith/templates/etc/phplist/config.php/50Options b/root/etc/e-smith/templates/etc/phplist/config.php/50Options index 77f3966..422c462 100644 --- a/root/etc/e-smith/templates/etc/phplist/config.php/50Options +++ b/root/etc/e-smith/templates/etc/phplist/config.php/50Options @@ -1,6 +1,9 @@ $attachment_repository = '/var/lib/phplist/tmp'; define("ALLOW_ATTACHMENTS",1); define('USE_ADMIN_DETAILS_FOR_MESSAGES',1); +define("PLUGIN_ROOTDIR","/usr/share/phplist/www/admin/plugins"); +define("FCKIMAGES_DIR","uploadimages"); +define('UPLOADIMAGES_DIR','uploadimages'); { my $lang = $phplist{'Language'} || ''; $lang .= ($lang =~ m/\.inc$/) ? '' : '.inc';