代码: 全选
lee@lee-laptop:/home/share/project/sglib$ ls -R
.:
bin docs etc index.php share stop_service.html tmp.txt
./bin:
add_comment.php echo_HTML.php forget_password.php login.php post.php remove_post.php t.php who.php
connect_DB.php edit_comment.php index.php login.php~ register.php send_sms.php view_post.php w.php
console.php edit_post.php list_post.php logout.php remove_comment.php test.php whoami.php
./docs:
index.php mission.txt philosophy.txt rules.txt webpage_struction_beta.dia webpage_struction_beta.jpeg
./etc:
add_boks add_user conf.php sglib.sql tmp.txt
./share:
css docs i18n image images script styles
./share/css:
font.css hcp layout.css layout.css~ lpw mix.css mix.css~ sglib
./share/css/hcp:
文件 a ,目录 b 和目录 c 同一目录 root 下
目录 b 下的有 文件 b1,文件b2……
目录 c 下的有 文件 c1,文件c2……
a, b1, b2 共用 echo_html.php 文件,它们都要引用 css 文件c2
于是便有绝对路径与相对路径烦人问题,自己写了摸了半个小时,不行,再半个小时,还不行,突然想起 #gentoo-cn 的 r0bertz 说过
打开本地 phpbb3 的 index.php 看了下十秒,再用十秒修改一下自己的,问题解决。read fucking source codes
开源,盛世