Skip to content

Instantly share code, notes, and snippets.

View Sioweb's full-sized avatar
😀
Up

Sascha Weidner Sioweb

😀
Up
View GitHub Profile
@Sioweb
Sioweb / menu-api.php
Last active September 16, 2019 11:19
Menu Api (PHP)
<?php
$header = array();
$header[] = 'Content-Length: 0';
$header[] = 'Content-type: application/json'; // also tryed with /xml
$header[] = 'Authorization: ' . base64_encode('email:password') . ''; // Replaced for security reasons
// die("<pre>Headers:\n" . print_r($header, true)); // Uncomment this line, to get base64 encoded credentials string
$ch = curl_init();
@Sioweb
Sioweb / composer.json
Created July 9, 2019 09:54
Oxid 6 Automatisch installierte Pakete entfernen
{
...
"replace": {
"oxid-esales/azure-theme": "*",
"oxid-esales/oxideshop-demodata-installer": "*",
"oxid-esales/oxideshop-demodata-ce": "*",
"oxid-esales/oxideshop-demodata-pe": "*",
"topconcepts/oxid-klarna-6": "*",
"oxid-esales/wave-theme": "*",
@Sioweb
Sioweb / CleanUp.php
Last active April 29, 2020 06:56
Oxid remove config for specific Modules
<?php
// See comments below
namespace Sioweb\Oxid\CleanUp\Controller;
use OxidEsales\Eshop\Application\Controller\FrontendController;
class CleanUp extends FrontendController
{