diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 19:26:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 19:26:03 +0200 |
commit | 81c9df1363116b0f70161ccf55af4d6aab8c7f6b (patch) | |
tree | 92f5b8c6d4efab2533033ebf4422b20c25f33dd6 /plugins/archiveorg/archiveorg.php | |
parent | cd2878edeeb1f28356c486c73a12af827b2d9f93 (diff) | |
parent | 7836ed9b2e98e2c6898f011e431d3a58ebcfa3e5 (diff) | |
download | Shaarli-81c9df1363116b0f70161ccf55af4d6aab8c7f6b.tar.gz Shaarli-81c9df1363116b0f70161ccf55af4d6aab8c7f6b.tar.zst Shaarli-81c9df1363116b0f70161ccf55af4d6aab8c7f6b.zip |
Merge pull request #1593 from ArthurHoaro/fix/no-url-rewriting
Diffstat (limited to 'plugins/archiveorg/archiveorg.php')
-rw-r--r-- | plugins/archiveorg/archiveorg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/archiveorg/archiveorg.php b/plugins/archiveorg/archiveorg.php index 922b5966..ed271532 100644 --- a/plugins/archiveorg/archiveorg.php +++ b/plugins/archiveorg/archiveorg.php | |||
@@ -17,7 +17,7 @@ use Shaarli\Plugin\PluginManager; | |||
17 | function hook_archiveorg_render_linklist($data) | 17 | function hook_archiveorg_render_linklist($data) |
18 | { | 18 | { |
19 | $archive_html = file_get_contents(PluginManager::$PLUGINS_PATH . '/archiveorg/archiveorg.html'); | 19 | $archive_html = file_get_contents(PluginManager::$PLUGINS_PATH . '/archiveorg/archiveorg.html'); |
20 | $path = ($data['_BASE_PATH_'] ?? '') . '/' . PluginManager::$PLUGINS_PATH; | 20 | $path = ($data['_ROOT_PATH_'] ?? '') . '/' . PluginManager::$PLUGINS_PATH; |
21 | 21 | ||
22 | foreach ($data['links'] as &$value) { | 22 | foreach ($data['links'] as &$value) { |
23 | $isNote = startsWith($value['real_url'], '/shaare/'); | 23 | $isNote = startsWith($value['real_url'], '/shaare/'); |