Skip to content

Commit

Permalink
Merge pull request #32 from conclurer/AIOM-3.1.5
Browse files Browse the repository at this point in the history
AIOM 3.1.5
  • Loading branch information
marvinscharle committed Feb 1, 2015
2 parents 04a7cc2 + ae662a2 commit 5d2c0ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AllInOneMinify.module
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class AllInOneMinify extends WireData implements Module, ConfigurableModule {
// ------------------------------------------------------------------------
// Version: major, minor, revision, i.e. 100 = 1.1.0
// ------------------------------------------------------------------------
'version' => 314,
'version' => 315,

'author' => 'David Karich & Conclurer GbR',

Expand Down Expand Up @@ -587,7 +587,7 @@ class AllInOneMinify extends WireData implements Module, ConfigurableModule {
// Load source of file and rewrite absolute URLs.
// ------------------------------------------------------------------------
$_css_src = file_get_contents($stylesheet['absolute_path']).PHP_EOL;
$_css_src = (!empty($_css_src)) ? Minify_CSS_UriRewriter::rewrite($_css_src, dirname($stylesheet['absolute_path']),wire('config')->paths->root) : $_css_src;
$_css_src = (!empty($_css_src)) ? Minify_CSS_UriRewriter::rewrite($_css_src, dirname($stylesheet['absolute_path'])) : $_css_src;

// ------------------------------------------------------------------------
// If LESS file then run LESS parser.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ If you are currently in development of the site, caching can be a problem. For t

##Changelog##

3.1.5

* Bugfix: Links to images, which are embedded in CSS, are broken if the DOCUMENT_ROOT is not equal to ProcessWire root.

3.1.4

* Bugfix: CacheFiles for Pages are now deleted when a new minimized file is created
Expand Down

0 comments on commit 5d2c0ff

Please sign in to comment.