![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 120 Pomógł: 1 Dołączył: 11.04.2005 Skąd: Poznań Ostrzeżenie: (0%) ![]() ![]() |
Odrazu mowie php 4.
Mam coś takiego index.php:
news.php:
initiate.php:
Czy moge jakoś ominąc odpalanie klas db i smarty w funkcji show (news.php) (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) Żeby odpalały się w pliku initiate.php bo dodawanie odpalania klas smarty i db za każdym razem jest troche uciążliwe. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 120 Pomógł: 1 Dołączył: 11.04.2005 Skąd: Poznań Ostrzeżenie: (0%) ![]() ![]() |
Nie wiem co robie źle ale nie działa.
Cytat Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in C:\php\www\cms\news\index.php on line 28 Czemu __construct (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) poniewaz skrypt ma działać w php 4 i 5. A w 5 jest uławienie bo nie trzeba ładowć tej funkcji. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 9.10.2025 - 08:10 |