|
@@ -28,13 +28,7 @@ use Dcat\Admin\Layout\Menu;
|
|
|
* Admin::js('/packages/prettydocs/js/main.js');
|
|
|
*
|
|
|
*/
|
|
|
-var_dump($_SERVER['ENV_FILE']);exit;
|
|
|
-if (isset($_SERVER['ENV_FILE'])) {
|
|
|
- $envPath = base_path($_SERVER['ENV_FILE']);
|
|
|
- if (file_exists($envPath)) {
|
|
|
- Dotenv::load($envPath);
|
|
|
- }
|
|
|
-}
|
|
|
+
|
|
|
|
|
|
// 设置后台布局
|
|
|
$newContent = new Content();
|