Kaoru Shirai

Results 8 comments of Kaoru Shirai

~~It seems there are recent changes that breaks around CLI options parser.~~ Sorry. I stupidly mistaked usage. There is no problem around the CLI option parser itself.

@nanasess 表記を選択できるのはありがたいです。 ショップ運営者の立場からのコメントですが、需要が考えられるのは  11,000円  11,000円(税込)  10,000円(税込11,000円) の3パターンと思います。 運営中サイト(現状EC-CUBE2)では3番目表記を選択しており、`10,000`・`円`・`(税込11,000円)` でspanを分けています。(10,000を最も目立たせたいため)

I also met this problem with erb template. Code: before <% form_tag "/update" do %> # 'before' is rendered again here! <% end %> GEMs: activesupport (3.0.3) rack (1.2.1) sinatra...

I have synchronized this patch to work with the latest commit e23fcfd. https://github.com/jqr/php-serialize/compare/master...kaorukobo:php-serialize:keichan34-multibyte-array-hashes-again I would be happy if this could be merged to master. 🙂

Today, I tried to merge this PR and #11 onto commit e23fcfd. I noticed that these two patches are incompatible with each other. #11 resolves the issue using a different...

本来 cron などから定期的に実行させる処理が、 リクエストのたびに実行されると、 #471 のような問題など色々出てきますね。 ・定期実行させたほうがよい処理は `/data/class/SC_Cron.php` など作って集約。 ・インストール後のデフォルト動作はリクエストごとに実行で、これは非推奨とする。 ・cron用のエンドポイント(`/html/cron.php`)を作って、cronで毎分叩くのを推奨とする。 という形に整理していくのはいかがでしょうか…。

@nanasess なるほど。cronから叩くには、CLIを作るのが普通ですね。セキュリティチェックが要りませんし。 例えばMatomoというプロダクトのcron的ジョブの扱いは[CLIとWebで叩くエンドポイントと両方を用意して](https://matomo.org/docs/setup-auto-archiving/)いまして どちらかでは、Webから叩くほうが、実行環境が変わらないので実装が容易かと思ってしまいました。 CLIの方が容易に実装できそうであれば、そちらがいいですね。

おお `ec-cube2/cli` があったとは! 素晴らしいですね。 本家に取り込まれるとともに `/data/cli/eccube2 cron` とかでジョブが実行されるようになると、いいですね 👍