Changeset 11005
- Timestamp:
- 08/20/08 20:46:23 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/plugin/sfSymfonyPluginManager.class.php
r9131 r11005 65 65 * @param string $plugin The plugin name 66 66 */ 67 public function installWebContent($plugin )67 public function installWebContent($plugin, $sourceDirectory) 68 68 { 69 $webDir = $ this->environment->getOption('plugin_dir').DIRECTORY_SEPARATOR.$plugin.DIRECTORY_SEPARATOR.'web';69 $webDir = $sourceDirectory.DIRECTORY_SEPARATOR.$plugin.DIRECTORY_SEPARATOR.'web'; 70 70 if (is_dir($webDir)) 71 71 { … … 110 110 public function ListenToPluginPostInstall($event) 111 111 { 112 $this->installWebContent($event['plugin']); 112 $this->installWebContent($event['plugin'], 113 isset($event['sourceDirectory']) ? $event['sourceDirectory'] : $this->environment->getOption('plugin_dir')); 113 114 } 114 115

