Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
DIR_WEB修改为DOCUMENT_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
su committed Jul 20, 2018
1 parent b0cd4af commit a7943ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

define('DIR_ROOT', dirname(DIR_KERNEL));

define('DIR_WEB', DIR_ROOT . DS . 'web');
define('DIR_WEB', realpath($_SERVER['DOCUMENT_ROOT']));

define('DIR_CONFIG', DIR_ROOT . DS . 'config');

Expand Down

0 comments on commit a7943ed

Please sign in to comment.