Sometimes, simply running php composer install or php composer update will throw an error at building bootstrap.php time. To resolve this issue, proceed like this:
First, run:
php composer update --no-scripts| <?php | |
| // @author standa | 2013-09-28 | get the return terms | |
| // 1. load the model and get the page id | |
| $this->load->model('catalog/information'); | |
| // here the page_id is the setting from the Admin / Settings / Default Shop / Options | |
| $page_id = $this->config->get('config_return_id') | |
| // 2. get the the row from the information database |
| <?php if (!defined('BASEPATH')) die(); | |
| /** | |
| * This is a complete rewrite to use the Mandrill API instead of the | |
| * weird thing that OpenCart people patched up in here. | |
| * | |
| * Inspired by Mindrill | |
| * @link https://github.com/darrenscerri/Mindrill | |
| * | |
| * @author standa |
| private function sendEmail() { | |
| $this->load->library('email'); | |
| $this->config->load('email'); | |
| $tos = explode(',', $this->input->post('emaily')); | |
| // print_r($tos); | |
| if (empty($tos)) { |
| /** | |
| * Get Amazon ASIN by SKU | |
| * | |
| * @param string $sku | |
| * @return string Amazon ASIN | |
| * @link http://docs.developer.amazonservices.com/en_UK/products/Products_GetMatchingProductForId.html | |
| */ | |
| public function getAsinBySku($sku) | |
| { | |
| // append the real SKU ending |
| <?php | |
| /** | |
| * download latest posts from the Wordpress blog | |
| * - will only return 3 latest posts with a $tag homepage by default | |
| * | |
| * you will need PHP Curl extension - I'm too lazy to use native php sockets :) | |
| * and also xmlrpc so please: | |
| * | |
| * apt-get install php5-curl php5-xmlrpc |
| // works on jQuery 1.9+ | |
| $(document).on('change', '.soubor', function () { | |
| if ($(this).val() != '') { | |
| var id = $('.soubor').length + 1; | |
| $('<input>', {type: 'file', name: 'soubor'+id, id: 'soubor'+id, 'class': 'soubor form-control'}) | |
| .insertAfter($('.soubor').last()); | |
| } | |
| }); |
| UPDATE customer_entity | |
| SET email=CONCAT(OLD_PASSWORD(email), '@example.com') | |
| WHERE email NOT LIKE '%aardvark%' AND email NOT LIKE '%keyup%' AND email NOT LIKE '%grec.cz'; | |
| UPDATE sales_flat_order_address | |
| SET email=CONCAT(OLD_PASSWORD(email), '@example.com'); | |
| UPDATE sales_flat_order | |
| SET customer_email=CONCAT(OLD_PASSWORD(customer_email), '@example.com'); | |
| UPDATE core_config_data |
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
| <link rel="import" href="../chart-js/chart-js.html"> | |
| <polymer-element name="my-element"> |