Guest User

Untitled

a guest
Oct 18th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.52 KB | None | 0 0
  1. <?php
  2. $mageFilename = 'app/Mage.php';
  3. require_once $mageFilename;
  4. Mage::setIsDeveloperMode(true);
  5. ini_set('display_errors', 1);
  6. umask(0);
  7. Mage::app('admin');
  8. Mage::register('isSecureArea', 1);
  9. var_dump(Mage::app()->getStore()->debug());
  10. // print the following
  11.  
  12. array(7) {
  13.   ["store_id"]=>
  14.   string(1) "0"
  15.   ["code"]=>
  16.   string(5) "admin"
  17.   ["website_id"]=>
  18.   string(1) "0"
  19.   ["group_id"]=>
  20.   string(1) "0"
  21.   ["name"]=>
  22.   string(5) "Admin"
  23.   ["sort_order"]=>
  24.   string(1) "0"
  25.   ["is_active"]=>
  26.   string(1) "1"
  27. }
Add Comment
Please, Sign In to add comment