Skip to content

Commit 31a9742

Browse files
committed
DP-342 Test datasource connection upon service creation
- add app_debug to environment endpoint
1 parent 24a2784 commit 31a9742

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Resources/Environment.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ protected function handleGET()
8383
$result['platform']['install_path'] = base_path() . DIRECTORY_SEPARATOR;
8484
$result['platform']['log_path'] = env('DF_MANAGED_LOG_PATH',
8585
storage_path('logs')) . DIRECTORY_SEPARATOR;
86+
$result['platform']['app_debug'] = env('APP_DEBUG', false);
8687
$result['platform']['log_mode'] = \Config::get('logging.log');
8788
$result['platform']['log_level'] = \Config::get('logging.log_level');
8889
$result['platform']['cache_driver'] = \Config::get('cache.default');

0 commit comments

Comments
 (0)