Дмитрий

Дмитрий

С нами с 23 апреля 2015; Место в рейтинге пользователей: #324
Андрей И
19 мая 2016, 13:26
1
0
В файле core/model/modxmodmanagerresponse.class.php на 190 строке (или рядом), есть строка
$this->modx->controller = call_user_func_array(array($c,$getInstanceMethod),array($this->modx,$className,$this->action));
Ее нужно заменить на строку
$this->modx->controller = call_user_func_array(array($c,$getInstanceMethod),array(&$this->modx,$className,$this->action));
Илья Уткин
08 мая 2016, 15:41
1
+2
Вообще, подход правильный. Можно ускорить, используя $pdo->getChunk()