/[smecontribs]/rpms/dokuwiki-plugins/contribs10/dokuwiki-plugins-2021-10-05-ckgedit_fix_media_dir.patch
ViewVC logotype

Annotation of /rpms/dokuwiki-plugins/contribs10/dokuwiki-plugins-2021-10-05-ckgedit_fix_media_dir.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Oct 5 16:57:35 2021 UTC (3 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: dokuwiki-plugins-20210220-3_el7_sme, dokuwiki-plugins-20210220-1_el7_sme, dokuwiki-plugins-20210220-4_el7_sme, HEAD
Initial import

1 jcrisp 1.1 diff -ruN lib/plugins/ckgedit.old/action/meta.php lib/plugins/ckgedit/action/meta.php
2     --- lib/plugins/ckgedit.old/action/meta.php 2021-10-05 17:27:06.277221520 +0200
3     +++ lib/plugins/ckgedit/action/meta.php 2021-10-05 17:28:56.594090117 +0200
4     @@ -523,7 +523,9 @@
5     if(! empty($domain )) {
6     list($prefix,$mdir) = explode(trim(DOKU_BASE, '/'),$userfiles);
7     $mdir = ltrim($mdir, '/');
8     - $media_dir = DOKU_BASE . $mdir . 'image/';
9     + // $media_dir = DOKU_BASE . $mdir . 'image/';
10     + $media_dir = DOKU_BASE . $mdir . 'lib/exe/fetch.php/';
11     +
12     }
13     else $media_dir = '/lib/plugins/ckgedit/fckeditor/'. $animal . '/image/';
14     setcookieSameSite('FCK_media',$media_dir, $expire, '/');

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed