Skip to content

Commit

Permalink
Merge branch 'master' into use-htmlpurifier
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess authored Dec 23, 2024
2 parents b3135b4 + 320b42e commit e53b0a7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 242 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ jobs:
FORCE_COLOR: 1
run: yarn ${PATTERN} e2e-tests/${GROUP}

- name: Print error log
if: always()
continue-on-error: true
run: docker compose exec ec-cube tail -n 100 data/logs/error.log

- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ jobs:
- name: Run to PHPUnit SessionFactory
run: docker compose exec -T ec-cube php data/vendor/bin/phpunit tests/class/SC_SessionFactoryTest.php

- name: Print error log
if: always()
continue-on-error: true
run: docker compose exec ec-cube tail -n 100 data/logs/error.log

- name: Upload logs
if: failure()
uses: actions/upload-artifact@v4
Expand Down
1 change: 0 additions & 1 deletion data/Smarty/templates/admin/system/subnavi.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@
<li<!--{if $tpl_subno == 'masterdata'}--> class="on"<!--{/if}--> id="navi-system-adminarea"><a href="<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->system/adminarea.php"><span>管理画面設定</span></a></li>
<li<!--{if $tpl_subno == 'system'}--> class="on"<!--{/if}--> id="navi-system-system"><a href="<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->system/system.php"><span>システム情報</span></a></li>
<li<!--{if $tpl_mainno == 'system' && $tpl_subno == 'log'}--> class="on"<!--{/if}--> id="navi-system-log"><a href="<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->system/log.php"><span>EC-CUBE ログ表示</span></a></li>
<li<!--{if $tpl_mainno == 'system' && $tpl_subno == 'editdb'}--> class="on"<!--{/if}--> id="navi-system-editdb"><a href="<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->system/editdb.php"><span>高度なデータベース管理</span></a></li>
</ul>
2 changes: 1 addition & 1 deletion data/class/SC_View.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public function __construct()

public function init()
{
// include_phpの利用のためSmartyBCを呼び出す、ホントはinclude_phpをなくしたいそうすれば、blank.tplもなくせる
$this->_smarty = new \Smarty\Smarty();
$this->_smarty->setLeftDelimiter('<!--{');
$this->_smarty->setRightDelimiter('}-->');
Expand Down Expand Up @@ -74,6 +73,7 @@ public function init()
$this->_smarty->registerPlugin('function', 'sfIsHTTPS', ['SC_Utils_Ex', 'sfIsHTTPS']);
$this->_smarty->registerPlugin('function', 'sfSetErrorStyle', ['SC_Utils_Ex', 'sfSetErrorStyle']);
$this->_smarty->registerPlugin('function', 'printXMLDeclaration', ['GC_Utils_Ex', 'printXMLDeclaration']);
$this->_smarty->muteUndefinedOrNullWarnings();
$this->_smarty->default_modifiers = ['script_escape'];

if (ADMIN_MODE == '1') {
Expand Down
212 changes: 0 additions & 212 deletions data/class/pages/admin/system/LC_Page_Admin_System_Editdb.php

This file was deleted.

28 changes: 0 additions & 28 deletions html/admin/system/editdb.php

This file was deleted.

0 comments on commit e53b0a7

Please sign in to comment.