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 | |
preg_match('/Database=(.*);Data Source=(.*):(.*);User Id=(.*);Password=(.*)$/', $_SERVER['MYSQLCONNSTR_localdb'], $matches); | |
list($ds, $dbname, $dbhost, $dbport, $dbuser, $dbpass) = $matches; | |
define('ECCUBE_INSTALL', 'ON'); | |
define('HTTP_URL', 'https://example.azurewebsites.net/'); | |
define('HTTPS_URL', 'https://example.azurewebsites.net/'); | |
define('ROOT_URLPATH', '/'); | |
define('DOMAIN_NAME', ''); | |
define('DB_TYPE', 'mysql'); | |
define('DB_USER', $dbuser); |
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 | |
require __DIR__.'/require.php'; | |
ini_set('display_errors', 1); | |
// Here you can initialize variables that will be available to your tests | |
$config = [ | |
'fixture_customer_num' => 10, // 会員数 | |
'fixture_product_num' => 30000, // 商品数 | |
'fixture_order_num' => 1 // 注文数 | |
]; |
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
diff -urb 2_13/.coveralls.yml 2_17/.coveralls.yml | |
--- 2_13/.coveralls.yml 2019-08-03 11:41:43.000000000 +0900 | |
+++ 2_17/.coveralls.yml 2019-08-03 09:51:39.000000000 +0900 | |
@@ -1,5 +1,4 @@ | |
# for php-coveralls | |
# see also. https://coveralls.io | |
-src_dir: data | |
coverage_clover: reports/coverage/coverage.xml | |
json_path: reports/coverage/coveralls-upload.json | |
diff -urb 2_13/.gitignore 2_17/.gitignore |
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
#!/usr/local/bin/php -q | |
<?php | |
use Doctrine\ORM\EntityManagerInterface; | |
use Eccube\Kernel; | |
use Dotenv\Dotenv; | |
/* | |
* EC-CUBE データ生成スクリプト | |
* | |
* Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved. |
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
diff --git a/data/class/SC_Initial.php b/data/class/SC_Initial.php | |
index aa25b299b2..f57c908dc9 100644 | |
--- a/data/class/SC_Initial.php | |
+++ b/data/class/SC_Initial.php | |
@@ -83,10 +83,10 @@ class SC_Initial | |
*/ | |
public function defineDSN() | |
{ | |
- if (defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') | |
- && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME') |
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
#!/bin/sh | |
## ATTENTION IIS の場合は web.config を .htaccess に変更すること! | |
ECCUBE_HOST=http://example.com/ec-cube | |
while read TARGET | |
do | |
echo -n "$ECCUBE_HOST/$TARGET..." | |
STATUS=`curl -L -s $ECCUBE_HOST/$TARGET -o /dev/null -w '%{http_code}\n'` | |
if [ $STATUS = '200' ] |
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
From 796868cf2bfece8e0912fe3c30a37e76d505da5c Mon Sep 17 00:00:00 2001 | |
From: Kentaro Ohkouchi <nanasess@fsm.ne.jp> | |
Date: Thu, 16 Aug 2018 09:35:23 +0900 | |
Subject: [PATCH] =?UTF-8?q?WebProfiler=20=E3=82=92=20production=20?= | |
=?UTF-8?q?=E3=83=A2=E3=83=BC=E3=83=89=E3=81=A7=E5=8B=95=E4=BD=9C=E3=81=95?= | |
=?UTF-8?q?=E3=81=9B=E3=82=8B=E8=A8=AD=E5=AE=9A?= | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit |
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
diff --git a/src/Eccube/Service/OrderHelper.php b/src/Eccube/Service/OrderHelper.php | |
index 6753b31af..bdad561cd 100644 | |
--- a/src/Eccube/Service/OrderHelper.php | |
+++ b/src/Eccube/Service/OrderHelper.php | |
@@ -21,6 +21,7 @@ use Eccube\Entity\Cart; | |
use Eccube\Entity\CartItem; | |
use Eccube\Entity\Customer; | |
use Eccube\Entity\CustomerAddress; | |
+use Eccube\Entity\ItemHolderInterface; | |
use Eccube\Entity\Master\OrderItemType; |
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
var Category = function (name, child) { | |
var self = this; | |
this.name = name; | |
this.children = child; | |
this.accept = function(Visitor) { | |
Visitor.visit(self); | |
}; | |
}; | |
var Visitor = function () { |
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
diff --git a/src/Eccube/Controller/AbstractController.php b/src/Eccube/Controller/AbstractController.php | |
index 0f1c17500..b4caae677 100644 | |
--- a/src/Eccube/Controller/AbstractController.php | |
+++ b/src/Eccube/Controller/AbstractController.php | |
@@ -32,6 +32,7 @@ use Eccube\Common\EccubeConfig; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\EventDispatcher\EventDispatcherInterface; | |
use Symfony\Component\Form\FormFactoryInterface; | |
+use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Session\Session; |
NewerOlder