├── app
└── design
│ └── frontend
│ └── amp
│ └── default
│ ├── template
│ └── page
│ │ ├── html
│ │ ├── cookienotice.phtml
│ │ ├── header.phtml
│ │ ├── notices.phtml
│ │ ├── head.phtml
│ │ ├── footer.phtml
│ │ └── breadcrumbs.phtml
│ │ ├── 1column.phtml
│ │ ├── 2columns-left.phtml
│ │ ├── 2columns-right.phtml
│ │ └── 3columns.phtml
│ └── layout
│ └── local.xml
├── README.md
├── amp
├── index.php
└── .htaccess
├── .gitignore
└── .htaccess
/app/design/frontend/amp/default/template/page/html/cookienotice.phtml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/design/frontend/amp/default/template/page/html/header.phtml:
--------------------------------------------------------------------------------
1 |
Magento supports PHP 5.2.0 or newer. 32 | Find out how to install 33 | Magento using PHP-CGI as a work-around.
'; 34 | exit; 35 | } 36 | 37 | /** 38 | * Error reporting 39 | */ 40 | error_reporting(E_ALL | E_STRICT); 41 | 42 | /** 43 | * Compilation includes configuration file 44 | */ 45 | define('MAGENTO_ROOT', getcwd() . '/..'); 46 | 47 | $compilerConfig = MAGENTO_ROOT . '/includes/config.php'; 48 | if (file_exists($compilerConfig)) { 49 | include $compilerConfig; 50 | } 51 | 52 | $mageFilename = MAGENTO_ROOT . '/app/Mage.php'; 53 | $maintenanceFile = 'maintenance.flag'; 54 | 55 | if (!file_exists($mageFilename)) { 56 | if (is_dir('downloader')) { 57 | header("Location: downloader"); 58 | } else { 59 | echo $mageFilename." was not found"; 60 | } 61 | exit; 62 | } 63 | 64 | if (file_exists($maintenanceFile)) { 65 | include_once dirname(__FILE__) . '/errors/503.php'; 66 | exit; 67 | } 68 | 69 | require_once $mageFilename; 70 | 71 | #Varien_Profiler::enable(); 72 | 73 | if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { 74 | Mage::setIsDeveloperMode(true); 75 | } 76 | 77 | #ini_set('display_errors', 1); 78 | 79 | umask(0); 80 | 81 | /* Store or website code */ 82 | $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'amp'; 83 | 84 | /* Run store or run website */ 85 | $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store'; 86 | 87 | Mage::run($mageRunCode, $mageRunType); 88 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .htaccess.sample 2 | .modgit/ 3 | .modman/ 4 | app/code/community/Phoenix/ 5 | app/code/community/OnTap/ 6 | app/code/community/Cm/ 7 | app/code/core/ 8 | app/design/adminhtml/default/default/ 9 | app/design/frontend/base/ 10 | app/design/frontend/rwd/ 11 | app/design/frontend/default/blank/ 12 | app/design/frontend/default/default/ 13 | app/design/frontend/default/iphone/ 14 | app/design/frontend/default/modern/ 15 | app/design/frontend/enterprise/default 16 | app/design/frontend/enterprise/iphone 17 | app/design/frontend/amp/default/template/page/html/styles.phtml 18 | app/design/install/ 19 | app/etc/modules/Enterprise_* 20 | app/etc/modules/Mage_All.xml 21 | app/etc/modules/Mage_Api.xml 22 | app/etc/modules/Mage_Api2.xml 23 | app/etc/modules/Mage_Authorizenet.xml 24 | app/etc/modules/Mage_Bundle.xml 25 | app/etc/modules/Mage_Captcha.xml 26 | app/etc/modules/Mage_Centinel.xml 27 | app/etc/modules/Mage_Compiler.xml 28 | app/etc/modules/Mage_ConfigurableSwatches.xml 29 | app/etc/modules/Mage_Connect.xml 30 | app/etc/modules/Mage_CurrencySymbol.xml 31 | app/etc/modules/Mage_Downloadable.xml 32 | app/etc/modules/Mage_ImportExport.xml 33 | app/etc/modules/Mage_LoadTest.xml 34 | app/etc/modules/Mage_Oauth.xml 35 | app/etc/modules/Mage_Ogone.xml 36 | app/etc/modules/OnTap_Merchandiser.xml 37 | app/etc/modules/Mage_PageCache.xml 38 | app/etc/modules/Mage_Persistent.xml 39 | app/etc/modules/Mage_Weee.xml 40 | app/etc/modules/Mage_Widget.xml 41 | app/etc/modules/Mage_XmlConnect.xml 42 | app/etc/modules/Phoenix_Moneybookers.xml 43 | app/etc/modules/Cm_RedisSession.xml 44 | app/etc/applied.patches.list 45 | app/etc/config.xml 46 | app/etc/enterprise.xml 47 | app/etc/local.xml.additional 48 | app/etc/local.xml.template 49 | app/etc/local.xml 50 | app/.htaccess 51 | app/bootstrap.php 52 | app/locale/ 53 | app/Mage.php 54 | /cron.php 55 | cron.sh 56 | downloader/ 57 | errors/ 58 | favicon.ico 59 | /get.php 60 | includes/ 61 | /index.php 62 | index.php.sample 63 | /install.php 64 | js/blank.html 65 | js/calendar/ 66 | js/enterprise/ 67 | js/extjs/ 68 | js/firebug/ 69 | js/flash/ 70 | js/index.php 71 | js/jscolor/ 72 | js/lib/ 73 | js/mage/ 74 | js/prototype/ 75 | js/scriptaculous/ 76 | js/spacer.gif 77 | js/tiny_mce/ 78 | js/varien/ 79 | js/google/ 80 | js/merchandiser/ 81 | lib/3Dsecure/ 82 | lib/Apache/ 83 | lib/flex/ 84 | lib/googlecheckout/ 85 | lib/.htaccess 86 | lib/LinLibertineFont/ 87 | lib/Mage/ 88 | lib/PEAR/ 89 | lib/Pelago/ 90 | lib/phpseclib/ 91 | lib/Varien/ 92 | lib/Zend/ 93 | lib/Cm/ 94 | lib/Credis/ 95 | lib/Magento/ 96 | LICENSE_AFL.txt 97 | LICENSE.html 98 | LICENSE.txt 99 | LICENSE_EE* 100 | /mage 101 | media/customer/ 102 | media/dhl/ 103 | media/downloadable/ 104 | media/.htaccess 105 | media/import/ 106 | media/xmlconnect/ 107 | media/catalog/product/cache/ 108 | media/catalog/product/placeholder/default/ 109 | /api.php 110 | nbproject/ 111 | pear 112 | pear/ 113 | php.ini.sample 114 | pkginfo/ 115 | RELEASE_NOTES.txt 116 | shell/abstract.php 117 | shell/compiler.php 118 | shell/indexer.php 119 | shell/log.php 120 | sitemap.xml 121 | skin/adminhtml/default/default/ 122 | skin/adminhtml/default/enterprise 123 | skin/frontend/base/ 124 | skin/frontend/rwd/ 125 | skin/frontend/default/blank/ 126 | skin/frontend/default/blue/ 127 | skin/frontend/default/default/ 128 | skin/frontend/default/french/ 129 | skin/frontend/default/german/ 130 | skin/frontend/default/iphone/ 131 | skin/frontend/default/modern/ 132 | skin/frontend/enterprise 133 | skin/install/ 134 | var/ 135 | dev/ 136 | tools/ 137 | media/ 138 | shell/ 139 | lib/ 140 | privatesales/ 141 | app/design/frontend/amp/default/template/page/html/styles.phtml 142 | 143 | app/design/frontend/amp/default/template/page/html/styles.phtml 144 | -------------------------------------------------------------------------------- /amp/.htaccess: -------------------------------------------------------------------------------- 1 | ############################################ 2 | ## uncomment these lines for CGI mode 3 | ## make sure to specify the correct cgi php binary file name 4 | ## it might be /cgi-bin/php-cgi 5 | 6 | # Action php5-cgi /cgi-bin/php5-cgi 7 | # AddHandler php5-cgi .php 8 | 9 | ############################################ 10 | ## GoDaddy specific options 11 | 12 | # Options -MultiViews 13 | 14 | ## you might also need to add this line to php.ini 15 | ## cgi.fix_pathinfo = 1 16 | ## if it still doesn't work, rename php.ini to php5.ini 17 | 18 | ############################################ 19 | ## this line is specific for 1and1 hosting 20 | 21 | #AddType x-mapp-php5 .php 22 | #AddHandler x-mapp-php5 .php 23 | 24 | ############################################ 25 | ## default index file 26 | 27 | DirectoryIndex index.php 28 | 29 |