Skip to content

Instantly share code, notes, and snippets.

@KamilBalwierz
KamilBalwierz / _freshmail_test.php
Last active February 6, 2018 19:03
Tests typical entry points in Magento against why Snowdog_Freshmail module menu may not be showed
<?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');
@KamilBalwierz
KamilBalwierz / admin.sql
Last active August 29, 2015 14:16
Create admin user Magento
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 ));