Fixed PHP reference error in core/Common.php

pull/170/head
Andy Smith 2015-03-18 07:55:47 +00:00
rodzic 126419b4fa
commit 2d19c07d5e
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -241,7 +241,10 @@
}
}
return $_config[0] =& $config;
# Fix irritating PHP error
# see http://stackoverflow.com/questions/28348879/only-variable-references-should-be-returned-by-reference-codeigniter
$_config[0] =& $config;
return $_config[0];
}
// ------------------------------------------------------------------------
@ -505,4 +508,4 @@
/* End of file Common.php */
/* Location: ./system/core/Common.php */
/* Location: ./system/core/Common.php */