Rev 652 | Rev 693 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 652 | Rev 673 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | $thisdir = str_replace('\\', '/', $thisdir); // change Windows Backslashes into Web-Slashes |
100 | $thisdir = str_replace('\\', '/', $thisdir); // change Windows Backslashes into Web-Slashes |
101 | $filename = str_replace('\\', '/', $filename); // change Windows Backslashes into Web-Slashes |
101 | $filename = str_replace('\\', '/', $filename); // change Windows Backslashes into Web-Slashes |
102 | $dir = dirname((strpos($filename, $thisdir.'/') === 0) ? substr($filename, strlen($thisdir.'/')) : $filename); |
102 | $dir = dirname((strpos($filename, $thisdir.'/') === 0) ? substr($filename, strlen($thisdir.'/')) : $filename); |
103 | $cont = file_get_contents($filename); |
103 | $cont = file_get_contents($filename); |
104 | 104 | ||
105 | // TODO: WHY???? DevTools failed to load SourceMap: Could not load content for http://localhost/oidplus/bootstrap.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE |
105 | // TODO: WHY???? "DevTools failed to load SourceMap: Could not load content for http://localhost/oidplus/bootstrap.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE" |
106 | $cont = str_replace("//# sourceMappingURL=", "//# sourceMappingURL=".$dir.'/', $cont); |
106 | $cont = str_replace("//# sourceMappingURL=", "//# sourceMappingURL=".$dir.'/', $cont); |
107 | 107 | ||
108 | return $cont."\n\n"; |
108 | return $cont."\n\n"; |
109 | } |
109 | } |
110 | 110 |