freefcw / hustoj

the online judge system for acm/icpc

Home Page:http://www.hustoj.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hardcoded href for navbar, base.php:base_url should be used

dotkrnl opened this issue · comments

In application/config/base.php 'base_url' => '/new/'

Got hardcoded <li class="active"><a href="/">Home</a></li> in application/views/layout.php

在 application/config/base.php 中配置了 'base_url' => '/new/'

但由于 application/views/layout.php 中硬编码了 <li class="active"><a href="/">Home</a></li> 而无效。

And asset files (css, js) are hardcoded too.

资源文件 (css, js) 也被硬编码了。

我想办法解决一下

试试新的代码,我做了改变

commit 743ae4e, 2f673d2, 2d8b728 fixed this issue.