Skip to content

Instantly share code, notes, and snippets.

View MattLoyeD's full-sized avatar
🎯
Focusing

Matthieu D MattLoyeD

🎯
Focusing
View GitHub Profile
@MattLoyeD
MattLoyeD / gist:ba67bd4abd3b4853cbb76e5cc2f41e1d
Created September 30, 2022 09:38 — forked from habibmac/gist:2883102
WP: Wordpress profiling tools
if ( !defined('SAVEQUERIES') && isset($_GET['debug']) && $_GET['debug'] == 'sql' )
define('SAVEQUERIES', true);
if ( !function_exists('dump') ) :
/**
* dump()
*
* @param mixed $in
* @return mixed $in
**/
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
var f_page = "mooty.d"; // the page name for your fan page, e.g. the 'mooty.d' part of http://facebook.com/mooty.d
var t_page = "mooty.d"; // the account name for your main twitter account
function add_commas(number) {
if (number.length > 3) {
var mod = number.length % 3;
=> http://www.webbax.ch/2011/10/21/reinitialiser-le-mot-de-passe-administrateur-sous-prestashop/
1 / Récupérer votre _COOKIE_KEY_
Rendez-vous dans le fichier /config/settings.inc.php et récupérer la valeur de la variable _COOKIE_KEY_,
exemple : rESub0yysMZpryFSzZvaRPN9KOFIOzEM5Y6FHage4FOsnV1gN4UZcXkM
2 / Ajouter votre nouveau mot de passe