Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthon Pang <apang@softwaredevelopment.ca>2013-04-11 02:47:29 +0400
committerAnthon Pang <apang@softwaredevelopment.ca>2013-04-11 02:47:49 +0400
commit72c2839e11d488f65ecac5114c9a6584a34aaf7b (patch)
tree2d089be49e5d87da3e58e34f7e295fcd2ab9f486 /core/Loader.php
parent1be110e66bd61a61c8e40ccfeff3474201142101 (diff)
Loader should not match "XYZ\n"
Diffstat (limited to 'core/Loader.php')
-rw-r--r--core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Loader.php b/core/Loader.php
index 271e20c1a3..d46a57b01e 100644
--- a/core/Loader.php
+++ b/core/Loader.php
@@ -28,7 +28,7 @@ class Piwik_Loader
*/
protected static function getClassFileName($class)
{
- if (!preg_match("/^[A-Za-z0-9_]+$/", $class)) {
+ if (!preg_match("/^[A-Za-z0-9_]+$/D", $class)) {
throw new Exception("Invalid class name \"$class\".");
}