mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 12:31:06 -05:00
use __construct in cssmin library
This will avoid a PHP error stating that methods with the same name as their class will not be treated as constructors in future versions of PHP.
This commit is contained in:
parent
e51bcb4509
commit
8e669ce994
@ -61,7 +61,7 @@
|
||||
|
||||
class cssmin {
|
||||
|
||||
public function cssmin()
|
||||
public function __construct()
|
||||
{
|
||||
log_message('debug', 'CSSMin library initialized.');
|
||||
}
|
||||
@ -506,4 +506,4 @@ class Minify_CommentPreserver {
|
||||
: substr($in, -$endChars);
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user