Advertisement
Guest User

mage.php

a guest
Jul 1st, 2015
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. Class require_once('http://hotwheelstoys.in/demo2/em0113-full-package/Mage.php'); //Path to Magento umask(0); Mage::app();
  5.  
  6. {
  7. $id = 1;
  8.  
  9. try{ $result = Mage::getModel('customer/customer')->setWebsiteId($id)->authenticate($email, $password); }catch( Exception $e ){ $result = false; }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement