Skip to content

Commit

Permalink
Merge branch 'master' of github.com:alphalemon/ElFinderBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
alphalemon committed Apr 26, 2012
2 parents c590cc2 + 41fd4b8 commit 3eef1d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Core/Listener/PackageInstalledListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@
class PackageInstalledListener
{
public function onPackageInstalled(PackageInstalledEvent $event)
{
{
chdir(__DIR__ . '/../../');

$process = new Process('git submodule init');
$process->run();

$process = new Process('git submodule update');
$process->run();
$res = $process->run();
if($res === 0) $event->setSuccess (true);
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ The class AlphaLemonElFinderMediaConnector is instantiated into the DIC. Follows

namespace Path\To\AlphaLemonElFinderMediaConnector;

use ElFinderCore\Connector\AlphaLemonElFinderBaseConnector;
use AlphaLemon\ElFinderBundle\Core\Connector\AlphaLemonElFinderBaseConnector;

class AlphaLemonElFinderMediaConnector extends AlphaLemonElFinderBaseConnector
{
Expand Down

0 comments on commit 3eef1d5

Please sign in to comment.