Mercurial > hg > rc2
comparison program/lib/Roundcube/rcube_plugin_api.php @ 14:abddb304201f
continue slowly cleaning up after move to 8.3
| author | Charlie Root |
|---|---|
| date | Sat, 06 Sep 2025 08:16:01 -0400 |
| parents | 4681f974d28b |
| children | dd5ed6ef69c9 |
comparison
equal
deleted
inserted
replaced
| 13:cfac0673464e | 14:abddb304201f |
|---|---|
| 162 $dir = dir($this->dir); | 162 $dir = dir($this->dir); |
| 163 $plugins_dir = unslashify($dir->path); | 163 $plugins_dir = unslashify($dir->path); |
| 164 } | 164 } |
| 165 | 165 |
| 166 // plugin already loaded? | 166 // plugin already loaded? |
| 167 if (!$this->plugins[$plugin_name]) { | 167 if (!isset($this->plugins[$plugin_name])) { |
| 168 $fn = "$plugins_dir/$plugin_name/$plugin_name.php"; | 168 $fn = "$plugins_dir/$plugin_name/$plugin_name.php"; |
| 169 | 169 |
| 170 if (!is_readable($fn)) { | 170 if (!is_readable($fn)) { |
| 171 if ($require) { | 171 if ($require) { |
| 172 rcube::raise_error(array('code' => 520, 'type' => 'php', | 172 rcube::raise_error(array('code' => 520, 'type' => 'php', |
