Skip to content

Commit

Permalink
Merge pull request #961 from tarasfrompir/patch-6
Browse files Browse the repository at this point in the history
Клас thread не нужен для мдм
  • Loading branch information
sergejey authored May 26, 2021
2 parents 4143c8a + 68dbd4e commit 9349130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
$files_loaded = array();
while (($lib_file = readdir($lib_dir)) !== false) {
//if ($lib_file=='perfmonitor.class.php' && function_exists('startMeasure')) continue;
if ((preg_match("/\.php$/", $lib_file)) && ($lib_file != "loader.php") && !in_array($lib_file, $ignore_libs)) {
if ((preg_match("/\.php$/", $lib_file)) && ($lib_file != "loader.php") && ($lib_file != "threads.php") && !in_array($lib_file, $ignore_libs)) {
include_once("./lib/$lib_file");
$files_loaded[] = "./lib/$lib_file";
}
Expand All @@ -56,4 +56,4 @@
global $db;
$db = new mysql(DB_HOST, '', DB_USER, DB_PASSWORD, DB_NAME);
endMeasure('db_connection');
}
}

0 comments on commit 9349130

Please sign in to comment.