Eccube\Controller\Install\InstallController::step2 PHP Метод

step2() публичный Метод

権限チェック
public step2 ( Eccube\InstallApplication $app, Request $request )
$app Eccube\InstallApplication
$request Symfony\Component\HttpFoundation\Request
    public function step2(InstallApplication $app, Request $request)
    {
        $this->getSessionData($request);
        $protectedDirs = $this->getProtectedDirs();
        // 権限がある場合, キャッシュディレクトリをクリア
        if (empty($protectedDirs)) {
            $finder = Finder::create()->in($this->cache_path)->directories()->depth(0);
            $fs = new Filesystem();
            $fs->remove($finder);
        }
        return $app['twig']->render('step2.twig', array('protectedDirs' => $protectedDirs, 'publicPath' => '..' . RELATIVE_PUBLIC_DIR_PATH . '/'));
    }