Last active
August 30, 2017 14:06
-
-
Save kurozumi/80a21df07b8defd733d92414d7493421 to your computer and use it in GitHub Desktop.
【EC-CUBE3】会員ログイン後に表示されるページを指定する方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Plugin\SamplePlugin\ServiceProvider; | |
use Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy; | |
use Monolog\Handler\FingersCrossedHandler; | |
use Monolog\Handler\RotatingFileHandler; | |
use Monolog\Logger; | |
use Plugin\SamplePlugin\Form\Type\SamplePluginConfigType; | |
use Silex\Application as BaseApplication; | |
use Silex\ServiceProviderInterface; | |
class SamplePluginServiceProvider implements ServiceProviderInterface | |
{ | |
public function register(BaseApplication $app) | |
{ | |
$firewalls = $app['security.firewalls']; | |
$firewalls["customer"]["form"]["default_target_path"] = "/mypage/favorite"; | |
$app['security.firewalls'] = $firewalls; | |
} | |
public function boot(BaseApplication $app) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment