| 
<?php/**
 * @author Michele Andreoli <[email protected]>
 * @name index.php
 * @version 0.1 updated 10-08-2011
 * @license http://opensource.org/licenses/gpl-license-php GNU Public License
 * @package CSSUnifier
 */
 ?>
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <?php
 require_once 'CSSUnifier.class.php';
 /**
 * USAGE:
 * If you specify a path like "./css/log.txt" you enable the debug mode and
 * in the logger file you will see all operations made by CSSUnifier
 * otherwise the debug mode is disabled.
 * Remember that the directory that contains log file will must have the writing permissions (757)
 **/
 $unifier = new Unifier("CSSList.xml", "./css/log.txt");
 $unifier->getCSS();
 ?>
 <title>Compressor And Unifier CSS</title>
 </head>
 <body>
 <h1>Title</h1>
 <p>paragraph</p>
 </body>
 </html>
 |