![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 248 Pomógł: 38 Dołączył: 29.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
dzisiaj zacząłem naukę ZF i już mam problem. Nie czyta mi zmiennej APPLICATION_ENV z htaccess. htaccess:
i w index.php po wykonaniu echo APPLICATION_ENV; wyświetla 'production'. Co robię źle? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 2 355 Pomógł: 533 Dołączył: 15.01.2010 Skąd: Bydgoszcz Ostrzeżenie: (0%) ![]() ![]() |
Zmień sobie w index.php na
// Define application environment defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'development')); A DirectoryIndex jest zbędny. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 7.10.2025 - 06:54 |