File tree 5 files changed +16
-7
lines changed
plugins/ViewBrowserPlugin
5 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ This plugin is free but if you install and find it useful then a donation to sup
44
44
## Version history ##
45
45
46
46
version Description
47
+ 2.11.10+20230814 Use function to get the public URL
47
48
2.11.9+20230630 Log libxml parse errors
48
49
2.11.8+20230412 Remove leading and trailing whitespace from link URLs to avoid them being % encoded
49
50
2.11.7+20230412 Remove surrounding white space from image URLs
Original file line number Diff line number Diff line change
1
+ version 2.11.10+20230814
2
+ Use function to get the public URL
3
+ Revise unit tests
4
+
1
5
version 2.11.9+20230630
2
6
Log libxml parse errors
3
7
cs fixer changes
Original file line number Diff line number Diff line change 8
8
<directory >tests</directory >
9
9
</testsuite >
10
10
</testsuites >
11
+ <php >
12
+ <includePath >/home/duncan/Development/GitHub/phplist-plugin-common/plugins/:plugins</includePath >
13
+ <var name =" systemroot" value =" /home/duncan/www/lists/admin" />
14
+ </php >
11
15
</phpunit >
Original file line number Diff line number Diff line change 1
- 2.11.9+20230630
1
+ 2.11.10+20230814
Original file line number Diff line number Diff line change 3
3
require __DIR__ . '/config_table.php ' ;
4
4
require __DIR__ . '/phplist.php ' ;
5
5
6
- $ GLOBALS ['systemroot ' ] = '/home/duncan/www/lists ' ;
7
6
define ('PHPLISTINIT ' , 1 );
8
- define ("PLUGIN_ROOTDIR " , $ GLOBALS [ ' systemroot ' ] . ' /admin/ plugins ' );
7
+ define ("PLUGIN_ROOTDIR " , ' plugins ' );
9
8
define ("PLUGIN_ROOTDIRS " , "" );
10
9
define ('EMAILTEXTCREDITS ' , true );
11
10
define ('ALWAYS_ADD_USERTRACK ' , true );
31
30
32
31
$ _GET ['pi ' ] = 'ViewBrowserPlugin ' ;
33
32
34
- require __DIR__ . ' /../plugins/ ViewBrowserPlugin.php ' ;
33
+ require ' ViewBrowserPlugin.php ' ;
35
34
$ pi = new ViewBrowserPlugin ();
36
- $ pi ->activate ();
37
-
38
35
$ GLOBALS ['plugins ' ] = [
39
36
'ViewBrowserPlugin ' => $ pi ,
40
37
];
41
- require PLUGIN_ROOTDIR . '/CommonPlugin/Autoloader.php ' ;
38
+ require 'CommonPlugin/Autoloader.php ' ;
39
+
40
+ $ pi ->activate ();
41
+
You can’t perform that action at this time.
0 commit comments