mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
...
parent
3034dc3205
commit
836081cf78
@ -10,12 +10,7 @@ Here's my sIFR helper.
|
||||
<script src="<?php echo base_url(); ?>statics/sifr/sifr.js" type="text/javascript"></script>
|
||||
|
||||
[/code]
|
||||
|
||||
- You can change this line to specify your path for your swf-font, in sifr_helper.php.
|
||||
[code]
|
||||
$swfpath = base_url().'statics/sifr/';
|
||||
[/code]
|
||||
|
||||
----------------
|
||||
NOW, load your new helper by editing config/autoload.php
|
||||
[code]
|
||||
$autoload['helper'] = array('url', 'html', 'sifr');
|
||||
@ -24,6 +19,7 @@ OR by loading it in you controller
|
||||
[code]
|
||||
$this->load->helper('sifr');
|
||||
[/code]
|
||||
----------------
|
||||
Finally you're ready to use it !
|
||||
just write this code in your view ...!
|
||||
[code]
|
||||
|
Loading…
x
Reference in New Issue
Block a user