Magento 1.x:
Mage::getStoreConfig('carriers/shipper/active')Magento 2.x (using constructor injection):
protected $scopeConfig;| require('dotenv').config(); | |
| const withCSS = require('@zeit/next-css'); | |
| const path = require('path'); | |
| const Dotenv = require('dotenv-webpack'); | |
| const withImages = require('next-images'); | |
| const withTypescript = require('@zeit/next-typescript'); | |
| const withOffline = require('next-offline'); | |
| const {PHASE_DEVELOPMENT_SERVER, PHASE_PRODUCTION_BUILD} = require('next/constants') |
| #!/bin/bash | |
| set -e | |
| show_help() { | |
| cat << EOF | |
| Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE] | |
| ${0##*/} -h | |
| Open a standard connection in Sequel PRO. |
Magento 1.x:
Mage::getStoreConfig('carriers/shipper/active')Magento 2.x (using constructor injection):
protected $scopeConfig;| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
| */ | |
| $args = array( |