View gist:d06cd64643fc15d636416f85f8b6e9ac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Bold\Checkout\Observer\Checkout; | |
use Bold\Checkout\Block\Onepage\Button; | |
use Bold\Checkout\Model\Config; | |
use Bold\Checkout\Model\GetParallelCheckoutTemplate; | |
use Magento\Catalog\Block\ShortcutButtons; |
View remote.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: manage.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- manage.php (date 1537910031000) | |
+++ manage.php (date 1537910031000) | |
@@ -0,0 +1,74 @@ | |
+<?php | |
+/** |
View Magento\Framework\Console\Cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Magento\Framework\Console; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Console\Output\ConsoleOutput; | |
use Symfony\Component\Console\Input\ArgvInput; | |
use Symfony\Component\Console\Application as SymfonyApplication; | |
use Magento\Framework\App\Bootstrap; | |
use Magento\Framework\Filesystem\Driver\File; |
View Writer.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(0); | |
header('Content-type: text/html; charset=windows-1251'); | |
$error = null; | |
$message = null; | |
if (!empty($_POST)) { | |
try { | |
if(empty($_POST['db'])){ | |
throw new LogicException('Не задано базу данних'); | |
} |