diff --git a/src/OwaClient.php b/src/OwaClient.php index ca49f71..dfca32e 100644 --- a/src/OwaClient.php +++ b/src/OwaClient.php @@ -105,14 +105,14 @@ private function getHomeDirectory() { // On Unix systems, use the HOME environment variable if ($home = getenv( 'HOME' ) ) { - + return $home; } // Get the HOMEDRIVE and HOMEPATH values for Windows hosts $home_drive = getenv('HOMEDRIVE'); $home_path = getenv('HOMEPATH'); - + return ($home_drive && $home_path) ? $home_drive . $home_path : null; }