This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCK TABLES `admin_role` WRITE , `admin_user` WRITE; | |
SET @PASSWORD = "password"; | |
SET @FIRSTNAME = "Firstname"; | |
SET @LASTNAME = "Lastname"; | |
SET @USERNAME = "myuser"; | |
SET @EMAIL = "[email protected]"; | |
SET @SALT = "rp"; | |
SET @PASS = CONCAT(MD5(CONCAT( @SALT , @PASSWORD) ), CONCAT(":", @SALT )); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// enable error reporting to see all useful warnings | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
if (function_exists('libxml_disable_entity_loader')) { | |
libxml_disable_entity_loader(false); | |
} | |
header('Content-type: text/plain'); |