mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
carabiner_css
This commit is contained in:
parent
0811f3ca37
commit
b5ae458a26
15
.htaccess
15
.htaccess
@ -1,15 +0,0 @@
|
|||||||
<IfModule mod_rewrite.c>
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteBase /
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteRule ^(.*)$ index.php/$1 [L]
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
<IfModule !mod_rewrite.c>
|
|
||||||
# If we don't have mod_rewrite installed, all 404's
|
|
||||||
# can be sent to index.php, and everything works as normal.
|
|
||||||
# Submitted by: ElliotHaughin
|
|
||||||
|
|
||||||
ErrorDocument 404 /index.php
|
|
||||||
</IfModule>
|
|
@ -52,7 +52,7 @@ $autoload['packages'] = array();
|
|||||||
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$autoload['libraries'] = array('database', 'db_session');
|
$autoload['libraries'] = array('database', 'db_session', 'carabiner');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -5,10 +5,26 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||||
<title><?php echo $this->config->item('site_name');?></title>
|
<title><?php echo $this->config->item('site_name');?></title>
|
||||||
<link rel="stylesheet" href="<?php echo base_url()?>static/styles/reset.css" type="text/css" />
|
<?php
|
||||||
<link rel="stylesheet" href="<?php echo base_url()?>static/styles/fonts.css" type="text/css" />
|
|
||||||
<link rel="stylesheet" href="<?php echo base_url()?>static/styles/main.css" type="text/css" media="screen" title="main" charset="utf-8" />
|
|
||||||
|
|
||||||
|
//Carabiner
|
||||||
|
$this->carabiner->config(array(
|
||||||
|
'script_dir' => 'static/js/',
|
||||||
|
'style_dir' => 'static/styles/',
|
||||||
|
'cache_dir' => 'static/asset/',
|
||||||
|
'base_uri' => base_url(),
|
||||||
|
'combine' => true,
|
||||||
|
//'dev' => true,
|
||||||
|
));
|
||||||
|
|
||||||
|
// CSS
|
||||||
|
$this->carabiner->css('reset.css');
|
||||||
|
$this->carabiner->css('fonts.css');
|
||||||
|
$this->carabiner->css('main.css');
|
||||||
|
|
||||||
|
$this->carabiner->display('css');
|
||||||
|
|
||||||
|
?>
|
||||||
<?php if(!empty($scripts)){?>
|
<?php if(!empty($scripts)){?>
|
||||||
<?php foreach($scripts as $script){?>
|
<?php foreach($scripts as $script){?>
|
||||||
<script src="<?php echo base_url()?>static/js/<?php echo $script?>" type="text/javascript"></script>
|
<script src="<?php echo base_url()?>static/js/<?php echo $script?>" type="text/javascript"></script>
|
||||||
|
0
htdocs/static/asset/.keep
Normal file
0
htdocs/static/asset/.keep
Normal file
Loading…
x
Reference in New Issue
Block a user