Fix depricated /e for magic links regex callback.

This commit is contained in:
Clemens Schwaighofer
2014-03-11 09:36:49 +09:00
parent 6abd2dda1b
commit 7ea35c2e61
2 changed files with 29 additions and 6 deletions

View File

@@ -133,7 +133,7 @@
while (($ret = $basic->db_check_async()) === true)
{
print "[ERR]: $ret<br>";
sleep(5);
// sleep(5);
}
// search path check
@@ -146,6 +146,10 @@
$status = $basic->db_exec("INSERT INTO test.schema_test (contents, id) VALUES ('TIME: ".time()."', ".rand(1, 10).")");
print "OTHER SCHEMA INSERT STATUS: ".$status." | PK NAME: ".$basic->pk_name.", PRIMARY KEY: ".$basic->insert_id."<br>";
// magic links test
print $basic->magic_links('user@bubu.at').'<br>';
print $basic->magic_links('http://test.com/foo/bar.php?foo=1').'<br>';
// print error messages
print $basic->print_error_msg();