Skip to content

Commit

Permalink
Merge pull request #363 from nobuhiko/req_composer
Browse files Browse the repository at this point in the history
Composer is not installed. を追加
  • Loading branch information
chihiro-adachi authored Jan 8, 2020
2 parents 9fb0fea + 9f91c3f commit d555c10
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion html/define.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
* ※ IIS は、POST 時にファイル名を使用しないと不具合が発生する。(http://support.microsoft.com/kb/247536/ja)
*/
define('USE_FILENAME_DIR_INDEX', null);
require_once HTML_REALDIR . HTML2DATA_DIR . 'vendor/autoload.php';

$autoload = HTML_REALDIR . HTML2DATA_DIR . 'vendor/autoload.php';
if (!file_exists($autoload) && !is_readable($autoload)) {
die('Composer is not installed.');
}
require_once $autoload;

// bufferを初期化する
while (ob_get_level() > 0 && ob_get_level() > 0) {
Expand Down

0 comments on commit d555c10

Please sign in to comment.