Welcome Guest, Not a member yet? Register   Sign In
After installed assets(by sparks), how to use it?
#1

[eluser]phoenixg[/eluser]
I installed it:
http://bstrahija.github.com/assets/ (offical site)
http://getsparks.org/packages/assets/versions/HEAD/show

And created required folder structure and made cache/ folder writable.

But when I use the sample code:
Code:
<?php Assets::css(array('bootstrap.less', 'init.css', 'style.css')); ?>
<?php Assets::js(array('libs/jquery.js', 'script.js', 'bean.coffee')); ?>

I just got 500 error. I don't know why. And
Code:
var_dump($this->load->spark('assets/1.0.0');
returns bool(false)

What should I do?




Theme © iAndrew 2016 - Forum software by © MyBB