Jump to content

Recommended Posts

Всем здравствуйте. Помогите решить проблему, заключается в том, хотел сделать include.


Выглядит так :




if (($_SERVER['REQUEST_URI'])=="/"){

include 'slider.tpl';




Но выдает такую ошибку:



Warning: include(slider.tpl) [function.include]: failed to open stream: No such file or directory in /home/h55563/data/www/beri-dari.org/Smarty/libs/plugins/block.php.php(23) : eval()'d code on line 5

Warning: include() [function.include]: Failed opening 'slider.tpl' for inclusion (include_path='.:/usr/local/share/pear') in /home/h55563/data/www/beri-dari.org/Smarty/libs/plugins/block.php.php(23) : eval()'d code on line 5



Как это можно исправить?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...