diff options
author | Chris Smith <chris.eureka@jalakai.co.uk> | 2008-04-08 04:21:18 +0200 |
---|---|---|
committer | Chris Smith <chris.eureka@jalakai.co.uk> | 2008-04-08 04:21:18 +0200 |
commit | 2ad12bd52fcf35dc327ffe96ebf4acf14b63a8e5 (patch) | |
tree | a1c24342902afe9ebfbb8a4140bbad64297a9f14 | |
parent | 7b05998eb2ccf778f7031529535f8e451aa45fea (diff) | |
download | rpg-2ad12bd52fcf35dc327ffe96ebf4acf14b63a8e5.tar.gz rpg-2ad12bd52fcf35dc327ffe96ebf4acf14b63a8e5.tar.bz2 |
FS#1361 - fix missing error message (also remove a couple of extraneous slashes)
darcs-hash:20080408022118-f07c6-c04712bd424d1bf8ff8db3fee8514bf0a145311e.gz
-rw-r--r-- | lib/plugins/plugin/admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php index a8115dffe..1b79018c1 100644 --- a/lib/plugins/plugin/admin.php +++ b/lib/plugins/plugin/admin.php @@ -312,18 +312,18 @@ class ap_manage { if (!is_dir("$tmp/$f")) continue; // check to make sure we aren't overwriting anything - if (!$overwrite && @file_exists(DOKU_PLUGIN."/$f")) { + if (!$overwrite && @file_exists(DOKU_PLUGIN.$f)) { // remember our settings, ask the user to confirm overwrite, FIXME continue; } - $instruction = @file_exists(DOKU_PLUGIN."/$f") ? 'update' : 'install'; + $instruction = @file_exists(DOKU_PLUGIN.$f) ? 'update' : 'install'; if (ap_copy("$tmp/$f", DOKU_PLUGIN.$f)) { $this->downloaded[] = $f; $this->plugin_writelog($f, $instruction, array($url)); } else { - $this->manager->error .= sprintf($lang['error_copy']."\n", $f); + $this->manager->error .= sprintf($this->lang['error_copy']."\n", $f); } } closedir($dh); |