Skip to content

Commit 53a48a1

Browse files
committed
fix: Add Paths::$envDirectory to framework package
1 parent 1b41358 commit 53a48a1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

admin/starter/app/Config/Paths.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,16 @@ class Paths
7575
* is used when no value is provided to `Services::renderer()`.
7676
*/
7777
public string $viewDirectory = __DIR__ . '/../Views';
78+
79+
/**
80+
* ---------------------------------------------------------------
81+
* ENVIRONMENT DIRECTORY NAME
82+
* ---------------------------------------------------------------
83+
*
84+
* This variable must contain the name of the directory where
85+
* the .env file is located.
86+
* Please consider security implications when changing this
87+
* value - the directory should not be publicly accessible.
88+
*/
89+
public string $envDirectory = __DIR__ . '/../../';
7890
}

0 commit comments

Comments
 (0)