![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 43 Pomógł: 0 Dołączył: 30.05.2003 Skąd: Kraków Ostrzeżenie: (0%) ![]() ![]() |
Teraz mam inny problem. Smarty.class.php mam w /usr/local/smarty/Smarty.class.php. Włączone mam safe mode, ale chciałbym, żeby każdy użytkownik mógł zaincludeować ten plik.
Jak to zrobić? |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 43 Pomógł: 0 Dołączył: 30.05.2003 Skąd: Kraków Ostrzeżenie: (0%) ![]() ![]() |
Znalazłem już odpowiedź.
Z php.ini Cytat ; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories. ; (directory must also be in include_path or full path must ; be used when including) safe_mode_include_dir = więc jeśli ustawię sobie tutaj katalog smarty, to każdy będzie mógł go zaincludeować. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 18.09.2025 - 01:19 |