@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $loader = require __DIR__.'/autoload.php'; |
| 26 | 26 | |
| 27 | 27 | ini_set('display_errors', 'Off'); |
| 28 | -error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); |
|
| 28 | +error_reporting(E_ALL&~E_DEPRECATED&~E_STRICT); |
|
| 29 | 29 | |
| 30 | 30 | // see http://silex.sensiolabs.org/doc/web_servers.html#php-5-4 |
| 31 | 31 | $filename = __DIR__.preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']); |
@@ -660,13 +660,13 @@ |
||
| 660 | 660 | $pluginConfigs = PluginConfigManager::getPluginConfigAll($this['debug']); |
| 661 | 661 | $ormMappings = array(); |
| 662 | 662 | $ormMappings[] = array( |
| 663 | - 'type' => 'annotation', |
|
| 664 | - 'namespace' => 'Eccube\Entity', |
|
| 665 | - 'path' => array( |
|
| 666 | - __DIR__.'/Entity' |
|
| 667 | - ), |
|
| 668 | - 'use_simple_annotation_reader' => false, |
|
| 669 | - ); |
|
| 663 | + 'type' => 'annotation', |
|
| 664 | + 'namespace' => 'Eccube\Entity', |
|
| 665 | + 'path' => array( |
|
| 666 | + __DIR__.'/Entity' |
|
| 667 | + ), |
|
| 668 | + 'use_simple_annotation_reader' => false, |
|
| 669 | + ); |
|
| 670 | 670 | |
| 671 | 671 | if (isset($this['config']['vendor_dir']) && file_exists($this['config']['vendor_dir'].'/Entity')) { |
| 672 | 672 | |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | $this->register(new MobileDetectServiceProvider()); |
| 207 | 207 | $this->register(new TwigLintServiceProvider()); |
| 208 | 208 | |
| 209 | - $this->error(function (\Exception $e, Request $request, $code) { |
|
| 209 | + $this->error(function(\Exception $e, Request $request, $code) { |
|
| 210 | 210 | if ($this['debug']) { |
| 211 | 211 | return; |
| 212 | 212 | } |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | |
| 274 | 274 | $pluginSubDirs = (function($dirName) use ($enabledPluginDirs) { |
| 275 | 275 | return array_map(function($pluginDir) use ($dirName) { |
| 276 | - return $pluginDir . '/' . $dirName; |
|
| 276 | + return $pluginDir.'/'.$dirName; |
|
| 277 | 277 | }, $enabledPluginDirs); |
| 278 | 278 | }); |
| 279 | 279 | |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | return $router; |
| 341 | 341 | }); |
| 342 | 342 | |
| 343 | - $this['eccube.router.origin'] = function ($app) { |
|
| 343 | + $this['eccube.router.origin'] = function($app) { |
|
| 344 | 344 | $resource = __DIR__.'/Controller'; |
| 345 | 345 | $cachePrefix = 'Origin'; |
| 346 | 346 | |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | $this['eccube.routers.plugin'] = []; |
| 351 | 351 | |
| 352 | 352 | if (isset($this['config']['vendor_dir']) && file_exists($this['config']['vendor_dir'].'/Controller')) { |
| 353 | - $this['eccube.router.extend'] = function ($app) { |
|
| 353 | + $this['eccube.router.extend'] = function($app) { |
|
| 354 | 354 | $resource = $app['config']['vendor_dir'].'/Controller'; |
| 355 | 355 | $cachePrefix = 'Extend'; |
| 356 | 356 | |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | return $router; |
| 360 | 360 | }; |
| 361 | 361 | } |
| 362 | - $this->extend('request_matcher', function ($matcher, $app) { |
|
| 362 | + $this->extend('request_matcher', function($matcher, $app) { |
|
| 363 | 363 | $matchers = []; |
| 364 | 364 | if (isset($app['eccube.router.extend'])) { |
| 365 | 365 | $matchers[] = $app['eccube.router.extend']; |
@@ -373,7 +373,7 @@ discard block |
||
| 373 | 373 | return new ChainUrlMatcher($matchers, $app['request_context']); |
| 374 | 374 | }); |
| 375 | 375 | |
| 376 | - $this->extend('url_generator', function ($generator, $app) { |
|
| 376 | + $this->extend('url_generator', function($generator, $app) { |
|
| 377 | 377 | $generators = []; |
| 378 | 378 | if (isset($app['eccube.router.extend'])) { |
| 379 | 379 | $generators[] = $app['eccube.router.extend']; |
@@ -388,7 +388,7 @@ discard block |
||
| 388 | 388 | }); |
| 389 | 389 | |
| 390 | 390 | // Route CollectionにEC-CUBEで定義したルーティングを追加(debug tool barに出力するため) |
| 391 | - $this->extend('routes', function ($routes, $app) { |
|
| 391 | + $this->extend('routes', function($routes, $app) { |
|
| 392 | 392 | if (isset($app['eccube.router.extend'])) { |
| 393 | 393 | $routes->addCollection($app['eccube.router.extend']->getRouteCollection()); |
| 394 | 394 | } |
@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | 'translator.cache_dir' => $this['debug'] ? null : $this['config']['root_dir'].'/app/cache/translator', |
| 424 | 424 | 'locale_fallbacks' => ['ja', 'en'], |
| 425 | 425 | )); |
| 426 | - $this->extend('translator', function ($translator, \Silex\Application $app) { |
|
| 426 | + $this->extend('translator', function($translator, \Silex\Application $app) { |
|
| 427 | 427 | $translator->addLoader('php', new \Symfony\Component\Translation\Loader\PhpFileLoader()); |
| 428 | 428 | |
| 429 | 429 | $file = __DIR__.'/Resource/locale/messages.'.$app['locale'].'.php'; |
@@ -466,14 +466,14 @@ discard block |
||
| 466 | 466 | $this->register(new \Silex\Provider\TwigServiceProvider(), array( |
| 467 | 467 | 'twig.form.templates' => array('Form/form_layout.twig'), |
| 468 | 468 | )); |
| 469 | - $this->extend('twig', function (\Twig_Environment $twig, \Silex\Application $app) { |
|
| 469 | + $this->extend('twig', function(\Twig_Environment $twig, \Silex\Application $app) { |
|
| 470 | 470 | $twig->addExtension(new \Eccube\Twig\Extension\EccubeExtension($app)); |
| 471 | 471 | $twig->addExtension(new \Twig_Extension_StringLoader()); |
| 472 | 472 | |
| 473 | 473 | return $twig; |
| 474 | 474 | }); |
| 475 | 475 | |
| 476 | - $this->before(function (Request $request, \Silex\Application $app) { |
|
| 476 | + $this->before(function(Request $request, \Silex\Application $app) { |
|
| 477 | 477 | $app['admin'] = $app['front'] = false; |
| 478 | 478 | $pathinfo = rawurldecode($request->getPathInfo()); |
| 479 | 479 | if (strpos($pathinfo, '/'.trim($app['config']['admin_route'], '/').'/') === 0) { |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | } |
| 490 | 490 | $paths[] = $app['config']['template_admin_realdir']; |
| 491 | 491 | $paths[] = __DIR__.'/../../app/Plugin'; |
| 492 | - $cacheDir = __DIR__.'/../../app/cache/twig/admin'; |
|
| 492 | + $cacheDir = __DIR__.'/../../app/cache/twig/admin'; |
|
| 493 | 493 | } else { |
| 494 | 494 | // モバイル端末時、smartphoneディレクトリを探索パスに追加する. |
| 495 | 495 | if ($app['mobile_detect.device_type'] == \Eccube\Entity\Master\DeviceType::DEVICE_TYPE_SP) { |
@@ -504,7 +504,7 @@ discard block |
||
| 504 | 504 | } |
| 505 | 505 | $paths[] = $app['config']['template_default_realdir']; |
| 506 | 506 | $paths[] = __DIR__.'/../../app/Plugin'; |
| 507 | - $cacheDir = __DIR__.'/../../app/cache/twig/'.$app['config']['template_code']; |
|
| 507 | + $cacheDir = __DIR__.'/../../app/cache/twig/'.$app['config']['template_code']; |
|
| 508 | 508 | } |
| 509 | 509 | $app['twig']->setCache($app['debug'] ? null : $cacheDir); |
| 510 | 510 | $app['twig.loader']->addLoader(new \Twig_Loader_Filesystem($paths)); |
@@ -522,7 +522,7 @@ discard block |
||
| 522 | 522 | }, self::EARLY_EVENT); |
| 523 | 523 | |
| 524 | 524 | // twigのグローバル変数を定義. |
| 525 | - $this->on(\Symfony\Component\HttpKernel\KernelEvents::CONTROLLER, function (\Symfony\Component\HttpKernel\Event\FilterControllerEvent $event) { |
|
| 525 | + $this->on(\Symfony\Component\HttpKernel\KernelEvents::CONTROLLER, function(\Symfony\Component\HttpKernel\Event\FilterControllerEvent $event) { |
|
| 526 | 526 | // 未ログイン時にマイページや管理画面以下にアクセスするとSubRequestで実行されるため, |
| 527 | 527 | // $event->isMasterRequest()ではなく、グローバル変数が初期化済かどうかの判定を行う |
| 528 | 528 | if (isset($this['twig_global_initialized']) && $this['twig_global_initialized'] === true) { |
@@ -607,7 +607,7 @@ discard block |
||
| 607 | 607 | // メール送信時の文字エンコード指定(デフォルトはUTF-8) |
| 608 | 608 | if (isset($this['config']['mail']['charset_iso_2022_jp']) && is_bool($this['config']['mail']['charset_iso_2022_jp'])) { |
| 609 | 609 | if ($this['config']['mail']['charset_iso_2022_jp'] === true) { |
| 610 | - \Swift::init(function () { |
|
| 610 | + \Swift::init(function() { |
|
| 611 | 611 | \Swift_DependencyContainer::getInstance() |
| 612 | 612 | ->register('mime.qpheaderencoder') |
| 613 | 613 | ->asAliasOf('mime.base64headerencoder'); |
@@ -642,7 +642,7 @@ discard block |
||
| 642 | 642 | $this->register(new \Saxulum\DoctrineOrmManagerRegistry\Provider\DoctrineOrmManagerRegistryProvider()); |
| 643 | 643 | |
| 644 | 644 | $app = $this; |
| 645 | - $this->extend('db.event_manager', function ($evm) use ($app) { |
|
| 645 | + $this->extend('db.event_manager', function($evm) use ($app) { |
|
| 646 | 646 | $initSubscriber = new InitSubscriber($app); |
| 647 | 647 | $evm->addEventSubscriber($initSubscriber); |
| 648 | 648 | |
@@ -759,7 +759,7 @@ discard block |
||
| 759 | 759 | |
| 760 | 760 | $this->extend( |
| 761 | 761 | 'orm.em.config', |
| 762 | - function (\Doctrine\ORM\Configuration $config, \Silex\Application $app) { |
|
| 762 | + function(\Doctrine\ORM\Configuration $config, \Silex\Application $app) { |
|
| 763 | 763 | |
| 764 | 764 | /** @var $chain \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain */ |
| 765 | 765 | $chain = $config->getMetadataDriverImpl(); |
@@ -781,7 +781,7 @@ discard block |
||
| 781 | 781 | } |
| 782 | 782 | ); |
| 783 | 783 | |
| 784 | - $this->extend('orm.em', function (\Doctrine\ORM\EntityManager $em, \Silex\Application $app) { |
|
| 784 | + $this->extend('orm.em', function(\Doctrine\ORM\EntityManager $em, \Silex\Application $app) { |
|
| 785 | 785 | // save |
| 786 | 786 | $saveEventSubscriber = new \Eccube\Doctrine\EventSubscriber\SaveEventSubscriber($app); |
| 787 | 787 | $em->getEventManager()->addEventSubscriber($saveEventSubscriber); |
@@ -806,7 +806,7 @@ discard block |
||
| 806 | 806 | // second level cacheの設定. |
| 807 | 807 | $this->extend( |
| 808 | 808 | 'orm.em.config', |
| 809 | - function (\Doctrine\ORM\Configuration $config, \Silex\Application $app) { |
|
| 809 | + function(\Doctrine\ORM\Configuration $config, \Silex\Application $app) { |
|
| 810 | 810 | $config->setSecondLevelCacheEnabled(); |
| 811 | 811 | $cacheConfig = $config->getSecondLevelCacheConfiguration(); |
| 812 | 812 | $regionConfig = $cacheConfig->getRegionsConfiguration(); |
@@ -895,31 +895,31 @@ discard block |
||
| 895 | 895 | array('^/mypage', 'ROLE_USER', $channel), |
| 896 | 896 | ); |
| 897 | 897 | |
| 898 | - $this['eccube.password_encoder'] = function ($app) { |
|
| 898 | + $this['eccube.password_encoder'] = function($app) { |
|
| 899 | 899 | return new \Eccube\Security\Core\Encoder\PasswordEncoder($app['config']); |
| 900 | 900 | }; |
| 901 | - $this['security.encoder_factory'] = function ($app) { |
|
| 901 | + $this['security.encoder_factory'] = function($app) { |
|
| 902 | 902 | return new \Symfony\Component\Security\Core\Encoder\EncoderFactory(array( |
| 903 | 903 | 'Eccube\Entity\Customer' => $app['eccube.password_encoder'], |
| 904 | 904 | 'Eccube\Entity\Member' => $app['eccube.password_encoder'], |
| 905 | 905 | )); |
| 906 | 906 | }; |
| 907 | - $this['eccube.event_listner.security'] = function ($app) { |
|
| 907 | + $this['eccube.event_listner.security'] = function($app) { |
|
| 908 | 908 | return new \Eccube\EventListener\SecurityEventListener($app['orm.em']); |
| 909 | 909 | }; |
| 910 | 910 | |
| 911 | 911 | // Voterの設定 |
| 912 | - $this['authority_voter'] = function ($app) { |
|
| 912 | + $this['authority_voter'] = function($app) { |
|
| 913 | 913 | return new \Eccube\Security\Voter\AuthorityVoter($app); |
| 914 | 914 | }; |
| 915 | 915 | |
| 916 | - $this->extend('security.voters', function ($voters, \Silex\Application $app) { |
|
| 916 | + $this->extend('security.voters', function($voters, \Silex\Application $app) { |
|
| 917 | 917 | $voters[] = $app['authority_voter']; |
| 918 | 918 | |
| 919 | 919 | return $voters; |
| 920 | 920 | }); |
| 921 | 921 | |
| 922 | - $this['security.access_manager'] = function ($app) { |
|
| 922 | + $this['security.access_manager'] = function($app) { |
|
| 923 | 923 | return new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager($app['security.voters'], 'unanimous'); |
| 924 | 924 | }; |
| 925 | 925 | |
@@ -933,7 +933,7 @@ discard block |
||
| 933 | 933 | { |
| 934 | 934 | $config = $this['config']; |
| 935 | 935 | if (isset($config['trusted_proxies_connection_only']) && !empty($config['trusted_proxies_connection_only'])) { |
| 936 | - $this->on(KernelEvents::REQUEST, function (GetResponseEvent $event) use ($config) { |
|
| 936 | + $this->on(KernelEvents::REQUEST, function(GetResponseEvent $event) use ($config) { |
|
| 937 | 937 | // サブリクエストのREMOTE_ADDRも動的に設定を行う必要があるため、KernelEvents::REQUESTを使用する |
| 938 | 938 | Request::setTrustedProxies(array_merge(array($event->getRequest()->server->get('REMOTE_ADDR')), $config['trusted_proxies'])); |
| 939 | 939 | }, self::EARLY_EVENT); |
@@ -950,7 +950,7 @@ discard block |
||
| 950 | 950 | $this->register(new ServiceProvider\EccubePluginServiceProvider()); |
| 951 | 951 | |
| 952 | 952 | // TODO Acme\ServiceProvider の初期化はここで OK? |
| 953 | - if (array_key_exists('service',$this['config'])) { |
|
| 953 | + if (array_key_exists('service', $this['config'])) { |
|
| 954 | 954 | foreach ($this['config']['service'] as $service) { |
| 955 | 955 | $this->register(new $service); |
| 956 | 956 | } |
@@ -1092,7 +1092,7 @@ discard block |
||
| 1092 | 1092 | $app = $this; |
| 1093 | 1093 | |
| 1094 | 1094 | // Response Event(http cache対応、event実行は一番遅く設定) |
| 1095 | - $this->on(\Symfony\Component\HttpKernel\KernelEvents::RESPONSE, function (\Symfony\Component\HttpKernel\Event\FilterResponseEvent $event) use ($app) { |
|
| 1095 | + $this->on(\Symfony\Component\HttpKernel\KernelEvents::RESPONSE, function(\Symfony\Component\HttpKernel\Event\FilterResponseEvent $event) use ($app) { |
|
| 1096 | 1096 | |
| 1097 | 1097 | if (!$event->isMasterRequest()) { |
| 1098 | 1098 | return; |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | namespace Eccube; |
| 25 | 25 | |
| 26 | -use Composer\Autoload\ClassLoader; |
|
| 27 | 26 | use Doctrine\DBAL\Types\Type; |
| 28 | 27 | use Eccube\DI\AutoWiring\EntityEventAutowiring; |
| 29 | 28 | use Eccube\DI\AutoWiring\FormExtensionAutoWiring; |
@@ -40,7 +40,6 @@ |
||
| 40 | 40 | use Eccube\InstallApplication; |
| 41 | 41 | use Eccube\Security\Core\Encoder\PasswordEncoder; |
| 42 | 42 | use Eccube\Util\Str; |
| 43 | -use Symfony\Component\Dotenv\Dotenv; |
|
| 44 | 43 | use Symfony\Component\Filesystem\Filesystem; |
| 45 | 44 | use Symfony\Component\Finder\Finder; |
| 46 | 45 | use Symfony\Component\HttpFoundation\Request; |
@@ -1,31 +1,31 @@ |
||
| 1 | 1 | <?php return [ |
| 2 | - 'root_dir' => '%ROOT_DIR%', |
|
| 3 | - 'root_urlpath' => env('ECCUBE_ROOT_URLPATH', null), |
|
| 4 | - 'template_code' => env('ECCUBE_TEMPLATE_CODE','default'), |
|
| 5 | - 'admin_route' => env('ECCUBE_ADMIN_ROUTE','admin'), |
|
| 6 | - 'user_data_route' => env('ECCUBE_USER_DATA_ROUTE', 'user_data'), |
|
| 7 | - 'public_path' => env('ECCUBE_ROOT_URLPATH', null).'/html', |
|
| 8 | - 'public_path_realdir' => '%ROOT_DIR%/html', |
|
| 9 | - 'image_save_realdir' => '%ROOT_DIR%/html/upload/save_image', |
|
| 10 | - 'image_temp_realdir' => '%ROOT_DIR%/html/upload/temp_image', |
|
| 11 | - 'user_data_realdir' => '%ROOT_DIR%/html/user_data', |
|
| 12 | - 'block_default_realdir' => '%ROOT_DIR%/src/Eccube/Resource/template/default/Block', |
|
| 13 | - 'block_realdir' => '%ROOT_DIR%/app/template/default/Block', |
|
| 14 | - 'template_default_realdir' => '%ROOT_DIR%/src/Eccube/Resource/template/default', |
|
| 15 | - 'template_default_html_realdir' => '%ROOT_DIR%/html/template/default', |
|
| 16 | - 'template_admin_realdir' => '%ROOT_DIR%/src/Eccube/Resource/template/admin', |
|
| 17 | - 'template_admin_html_realdir' => '%ROOT_DIR%/html/template/admin', |
|
| 18 | - 'template_realdir' => '%ROOT_DIR%/app/template/default', |
|
| 19 | - 'template_html_realdir' => '%ROOT_DIR%/html/template/default', |
|
| 20 | - 'template_temp_realdir' => '%ROOT_DIR%/app/cache/eccube/template', |
|
| 21 | - 'csv_temp_realdir' => '%ROOT_DIR%/app/cache/eccube/csv', |
|
| 22 | - 'plugin_realdir' => '%ROOT_DIR%/app/Plugin', |
|
| 23 | - 'plugin_temp_realdir' => '%ROOT_DIR%/app/cache/plugin', |
|
| 24 | - 'plugin_html_realdir' => '%ROOT_DIR%/html/plugin', |
|
| 25 | - 'admin_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/template/admin', |
|
| 26 | - 'front_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/template/default', |
|
| 27 | - 'image_save_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/upload/save_image', |
|
| 28 | - 'image_temp_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/upload/temp_image', |
|
| 29 | - 'user_data_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/user_data', |
|
| 30 | - 'plugin_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/plugin', |
|
| 2 | + 'root_dir' => '%ROOT_DIR%', |
|
| 3 | + 'root_urlpath' => env('ECCUBE_ROOT_URLPATH', null), |
|
| 4 | + 'template_code' => env('ECCUBE_TEMPLATE_CODE','default'), |
|
| 5 | + 'admin_route' => env('ECCUBE_ADMIN_ROUTE','admin'), |
|
| 6 | + 'user_data_route' => env('ECCUBE_USER_DATA_ROUTE', 'user_data'), |
|
| 7 | + 'public_path' => env('ECCUBE_ROOT_URLPATH', null).'/html', |
|
| 8 | + 'public_path_realdir' => '%ROOT_DIR%/html', |
|
| 9 | + 'image_save_realdir' => '%ROOT_DIR%/html/upload/save_image', |
|
| 10 | + 'image_temp_realdir' => '%ROOT_DIR%/html/upload/temp_image', |
|
| 11 | + 'user_data_realdir' => '%ROOT_DIR%/html/user_data', |
|
| 12 | + 'block_default_realdir' => '%ROOT_DIR%/src/Eccube/Resource/template/default/Block', |
|
| 13 | + 'block_realdir' => '%ROOT_DIR%/app/template/default/Block', |
|
| 14 | + 'template_default_realdir' => '%ROOT_DIR%/src/Eccube/Resource/template/default', |
|
| 15 | + 'template_default_html_realdir' => '%ROOT_DIR%/html/template/default', |
|
| 16 | + 'template_admin_realdir' => '%ROOT_DIR%/src/Eccube/Resource/template/admin', |
|
| 17 | + 'template_admin_html_realdir' => '%ROOT_DIR%/html/template/admin', |
|
| 18 | + 'template_realdir' => '%ROOT_DIR%/app/template/default', |
|
| 19 | + 'template_html_realdir' => '%ROOT_DIR%/html/template/default', |
|
| 20 | + 'template_temp_realdir' => '%ROOT_DIR%/app/cache/eccube/template', |
|
| 21 | + 'csv_temp_realdir' => '%ROOT_DIR%/app/cache/eccube/csv', |
|
| 22 | + 'plugin_realdir' => '%ROOT_DIR%/app/Plugin', |
|
| 23 | + 'plugin_temp_realdir' => '%ROOT_DIR%/app/cache/plugin', |
|
| 24 | + 'plugin_html_realdir' => '%ROOT_DIR%/html/plugin', |
|
| 25 | + 'admin_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/template/admin', |
|
| 26 | + 'front_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/template/default', |
|
| 27 | + 'image_save_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/upload/save_image', |
|
| 28 | + 'image_temp_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/upload/temp_image', |
|
| 29 | + 'user_data_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/user_data', |
|
| 30 | + 'plugin_urlpath' => env('ECCUBE_ROOT_URLPATH', null).'/html/plugin', |
|
| 31 | 31 | ]; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php return [ |
| 2 | 2 | 'root_dir' => '%ROOT_DIR%', |
| 3 | 3 | 'root_urlpath' => env('ECCUBE_ROOT_URLPATH', null), |
| 4 | - 'template_code' => env('ECCUBE_TEMPLATE_CODE','default'), |
|
| 5 | - 'admin_route' => env('ECCUBE_ADMIN_ROUTE','admin'), |
|
| 4 | + 'template_code' => env('ECCUBE_TEMPLATE_CODE', 'default'), |
|
| 5 | + 'admin_route' => env('ECCUBE_ADMIN_ROUTE', 'admin'), |
|
| 6 | 6 | 'user_data_route' => env('ECCUBE_USER_DATA_ROUTE', 'user_data'), |
| 7 | 7 | 'public_path' => env('ECCUBE_ROOT_URLPATH', null).'/html', |
| 8 | 8 | 'public_path_realdir' => '%ROOT_DIR%/html', |