diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php index 23435801..8f19bd92 100644 --- a/modules/gallery_unit_test/controllers/gallery_unit_test.php +++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php @@ -25,7 +25,8 @@ class Gallery_Unit_Test_Controller extends Controller { // Force strict behavior to flush out bugs early ini_set("display_errors", true); - error_reporting(E_ALL & ~E_DEPRECATED); + //error_reporting(E_ALL & ~E_DEPRECATED); + error_reporting(-1); // Jump through some hoops to satisfy the way that we check for the site_domain in // config.php. We structure this such that the code in config will leave us with a diff --git a/modules/user/lib/PasswordHash.php b/modules/user/lib/PasswordHash.php index d6783c07..62bc056b 100644 --- a/modules/user/lib/PasswordHash.php +++ b/modules/user/lib/PasswordHash.php @@ -30,7 +30,7 @@ class PasswordHash { var $portable_hashes; var $random_state; - function PasswordHash($iteration_count_log2, $portable_hashes) + function __construct($iteration_count_log2, $portable_hashes) { $this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';