Login   Register  
PHP Classes
elePHPant
Icontem

File: style.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alex Lau  >  Mix2ool  >  style.php  >  Download  
File: style.php
Role: Auxiliary script
Content type: text/plain
Description: CSS preprocessing engine
Class: Mix2ool
Web development framework integrated with jQuery
Author: By
Last change:
Date: 2009-09-02 17:07
Size: 365 bytes
 

Contents

Class file image Download
<?php
    
if (file_exists("css/cssConfig.php")){
        include_once(
"css/cssConfig.php");
    }
    
    include_once(
"common.php");

    
$cssFiles glob("css/*.css");
    
    
    
header('Content-type: text/css');
    include_once(
$mixPath "mixView.php");
    
$view = new mixView();
    for (
$i 0$l count($cssFiles); $i $l$i++){
        
$view->useTemplate($cssFiles[$i]);
    }
?>