We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the error message suggests one correction would be:
@@ -13,7 +13,8 @@ class LClientScript extends CClientScript{ public function registerCssFile($url, $media='') { //if the file extension is .less, use the lessparser. - $file_extension = end(explode('.',$url)); + $splittedarray = explode('.',$url); + $file_extension = end($splittedarray); if($file_extension == 'less'){ $url = $this->compileLess($url, false); }
But as suggested( http://stackoverflow.com/questions/4636166/only-variables-should-be-passed-by-reference):
$file_extension = pathinfo($file_name, PATHINFO_EXTENSION);
The text was updated successfully, but these errors were encountered:
3c1793f
Merge pull request #3 from kmindi/master
e5226e8
fixes #2
No branches or pull requests
As the error message suggests one correction would be:
But as suggested(
http://stackoverflow.com/questions/4636166/only-variables-should-be-passed-by-reference):
The text was updated successfully, but these errors were encountered: