Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $mageFilename = 'app/Mage.php';
- require_once $mageFilename;
- Mage::setIsDeveloperMode(true);
- ini_set('display_errors', 1);
- umask(0);
- Mage::app('admin');
- Mage::register('isSecureArea', 1);
- var_dump(Mage::app()->getStore()->debug());
- // print the following
- array(7) {
- ["store_id"]=>
- string(1) "0"
- ["code"]=>
- string(5) "admin"
- ["website_id"]=>
- string(1) "0"
- ["group_id"]=>
- string(1) "0"
- ["name"]=>
- string(5) "Admin"
- ["sort_order"]=>
- string(1) "0"
- ["is_active"]=>
- string(1) "1"
- }
Add Comment
Please, Sign In to add comment