使用HostGators预览功能,但我的资源在代码点火器中没有完整的base_url时被调用

I'm using HostGators preview feature which allows you to preview your files on the server without having to point a url.

The formatting is like so

http://server.domain.com/~cpanelusername/

Now, I have my base_url set to the above in my config.php file, however I'm running into this issue. My resources are not going to the url as listed above, but instead is trying to load them like:

http://server.domain.com/resources/images/logo.png

As you can see it's doing it without the CPanel Username in the url.

$config['base_url'] = "http://server.domain.com/~q0j8t5p6/";

This is what my base_url looks like in the file.

Has anybody successfully made this work? If so, how?