mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
#2203 - ManifestBuilder regex
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49441 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
89f2c50e51
commit
a697b8f5a4
@ -358,7 +358,7 @@ class ManifestBuilder {
|
||||
if(!$file) die("Couldn't open $filename<br />");
|
||||
|
||||
$classes = array();
|
||||
$size = preg_match_all('/class (.*){/', $file, $classes);
|
||||
$size = preg_match_all('/class (.*)[ \n]*{/m', $file, $classes);
|
||||
|
||||
for($i=0; $i < $size; $i++) {
|
||||
//we have a class
|
||||
|
Loading…
Reference in New Issue
Block a user