File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
root/app/www/public/crons Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88*/
99
1010if (!defined ('ABSOLUTE_PATH ' )) {
11- if (is_dir ('/config/www ' )) {
11+ if (file_exists ('/config/www/loader.php ' )) {
1212 define ('ABSOLUTE_PATH ' , '/config/www/ ' );
13- } elseif (is_dir ('/app/www/public ' )) {
13+ } elseif (file_exists ('/app/www/public/loader.php ' )) {
1414 define ('ABSOLUTE_PATH ' , '/app/www/public/ ' );
1515 } else {
1616 if (file_exists ('loader.php ' )) {
Original file line number Diff line number Diff line change 88*/
99
1010if (!defined ('ABSOLUTE_PATH ' )) {
11- if (is_dir ('/config/www ' )) {
11+ if (file_exists ('/config/www/loader.php ' )) {
1212 define ('ABSOLUTE_PATH ' , '/config/www/ ' );
13- } elseif (is_dir ('/app/www/public ' )) {
13+ } elseif (file_exists ('/app/www/public/loader.php ' )) {
1414 define ('ABSOLUTE_PATH ' , '/app/www/public/ ' );
1515 } else {
1616 if (file_exists ('loader.php ' )) {
You can’t perform that action at this time.
0 commit comments