Tencent / Biny

Biny is a tiny, high-performance PHP framework for web applications
BSD 3-Clause "New" or "Revised" License
1.69k stars 258 forks source link

jquery error and scrollspy error #30

Closed majiajia closed 7 years ago

majiajia commented 7 years ago

when i download the src code from github and try to run it ,it show error info that jquery is not defined and scrollspy id not defined.in demo.tpl.php

billge1205 commented 7 years ago

in demo.tpl.php it will include footer.tpl.php and in footer.tpl it will load jquery.js and bootstrap.js in your src Folder /web/static/js/ if your demo not loaded js . you can try visit url http://{your host}/static/js/jquery.min.js and check the config of nginx

billge1205 commented 7 years ago

Or you should open the short_open_tag in php.ini to use the native abbreviated rendering method. it will make the include function work

majiajia commented 7 years ago

ok.thank you