Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added file path option to process method.

  • Loading branch information...
commit be49a1b2d7c7d067af526ffb0274193288b00115 1 parent 78aeb8c
fyrebase authored

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 1 scaffold/libraries/Scaffold/Scaffold.php
6 scaffold/libraries/Scaffold/Scaffold.php
@@ -394,7 +394,7 @@ public static function setup($config)
394 394 * @param $file The file to the parsed
395 395 * @return $css string
396 396 */
397   - public static function process($file)
  397 + public static function process($file, $filePath = null)
398 398 {
399 399 /**
400 400 * This allows Scaffold to find files in the directory of the CSS file
@@ -408,6 +408,10 @@ public static function process($file)
408 408 */
409 409 Scaffold::$css = new Scaffold_CSS($file);
410 410
  411 + if ($filePath) {
  412 + Scaffold::$css->path = $filePath;
  413 + }
  414 +
411 415 /**
412 416 * Import Process Hook
413 417 * This hook is for doing any type of importing/including in the CSS

0 comments on commit be49a1b

Please sign in to comment.
Something went wrong with that request. Please try again.