diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2015-11-12 23:02:34 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2015-11-12 23:02:34 +0300 |
commit | f5ed97ffc4f9f2c4d905f05d1a00f0434a461dbe (patch) | |
tree | ea61f95758a14eb2a7a331bcefc34830231e8ca2 /plugins/CoreConsole | |
parent | 5e0676edaa5e4de7c1eac0706b36a6b0505d9845 (diff) |
Fix plugin name does not have to start with upper case
Diffstat (limited to 'plugins/CoreConsole')
-rw-r--r-- | plugins/CoreConsole/Commands/GenerateArchiver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreConsole/Commands/GenerateArchiver.php b/plugins/CoreConsole/Commands/GenerateArchiver.php index bbbdb85dfc..29bcee7bb6 100644 --- a/plugins/CoreConsole/Commands/GenerateArchiver.php +++ b/plugins/CoreConsole/Commands/GenerateArchiver.php @@ -30,7 +30,7 @@ class GenerateArchiver extends GeneratePluginBase $this->checkAndUpdateRequiredPiwikVersion($pluginName, $output); $exampleFolder = PIWIK_INCLUDE_PATH . '/plugins/ExamplePlugin'; - $replace = array('ExamplePlugin' => ucfirst($pluginName), 'EXAMPLEPLUGIN' => strtoupper($pluginName)); + $replace = array('ExamplePlugin' => $pluginName, 'EXAMPLEPLUGIN' => strtoupper($pluginName)); $whitelistFiles = array('/Archiver.php'); $this->copyTemplateToPlugin($exampleFolder, $pluginName, $replace, $whitelistFiles); |