Updating css.php to use App::import(). Closes #4613

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7717 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-10-09 03:43:42 +00:00
parent 136f9c4b6d
commit fb4277a852
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ if (!class_exists('File')) {
* @return unknown
*/
function make_clean_css($path, $name) {
require(VENDORS . 'csspp' . DS . 'csspp.php');
App::import('Vendor', 'csspp' . DS . 'csspp');
$data = file_get_contents($path);
$csspp = new csspp();
$output = $csspp->compress($data);

View file

@ -44,7 +44,7 @@ if (!class_exists('File')) {
* @return unknown
*/
function make_clean_css($path, $name) {
require(VENDORS . 'csspp' . DS . 'csspp.php');
App::import('Vendor', 'csspp' . DS . 'csspp');
$data = file_get_contents($path);
$csspp = new csspp();
$output = $csspp->compress($data);