Skip to content

Commit

Permalink
フロント機能で出力バッファリングが無効となっている #777
Browse files Browse the repository at this point in the history
  • Loading branch information
seasoftjapan committed Oct 18, 2023
1 parent ac42946 commit f58bc77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions data/require_base.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

ob_start();

if (!defined('DATA_REALDIR')) {
define('DATA_REALDIR', HTML_REALDIR . HTML2DATA_DIR);
}
Expand Down
1 change: 0 additions & 1 deletion html/admin/require.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@

require_once HTML_REALDIR . 'define.php';
require_once HTML_REALDIR . HTML2DATA_DIR . 'require_base.php';
ob_start();
1 change: 0 additions & 1 deletion html/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
defined('ADMIN_DIR') or define('ADMIN_DIR', '');

require_once HTML_REALDIR . HTML2DATA_DIR . 'require_base.php';
ob_start();
// ▲require.php 相当

$ownDir = realpath(dirname(__FILE__)) . '/';
Expand Down

0 comments on commit f58bc77

Please sign in to comment.