PHP Classes

File: style.php

Recommend this page to a friend!
  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: 14 years ago
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]);
    }
?>