综合编程

Carabiner does not work - Library Codeigniter

微信扫一扫,分享到朋友圈

Carabiner does not work - Library Codeigniter
0 0

I'm having trouble getting Carabiner to work...

There aren't any errors--my files just aren't working.

I haven't changed the config.

In my function I have:

$this->load->library('carabiner');
    $this->carabiner->display();

This should output all the css and js in my asstes folder, right?

I've tried moving the assets folder around too. Right now it's in /application/assets

Am I getting something wrong?!

Looks like you also need to grab the js and css using the carabiner object:

// add a js file
$this->carabiner->js('scripts.js');

// add a css file
$this->carabiner->css('reset.css');

// add a css file with a mediatype
$this->carabiner->css('admin/print.css','print');

see http://codeigniter.com/wiki/Carabiner/

Hello, buddy!
感谢您的支持!

    ZooKeeper分布式锁简单实践

    上一篇

    安全事故:Kubernetes遭遇大范围劫持

    下一篇

    您也可能喜欢

    评论已经被关闭。

    插入图片

    热门分类