Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZF] nie czyta APPLICATION_ENV z htaccess
kaem
post
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:
  1. # MOJE
  2. DirectoryIndex index.php # to mam w sumie w apachu ustawione chyba
  3. SetEnv APPLICATION_ENV development
  4. # KONIEC MOJE
  5.  
  6. RewriteEngine On
  7. RewriteCond %{REQUEST_FILENAME} -s [OR]
  8. RewriteCond %{REQUEST_FILENAME} -l [OR]
  9. RewriteCond %{REQUEST_FILENAME} -d
  10. RewriteRule ^.*$ - [NC,L]
  11. RewriteRule ^.*$ index.php [NC,L]
  12.  

i w index.php po wykonaniu echo APPLICATION_ENV; wyświetla 'production'. Co robię źle?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 18:05