# 1. Stáhněte vzorový projekt do aktuální složky
curl -sL \
https://raw.githubusercontent.com/strategio-digital/megio-core/master/install.sh \
| bash /dev/stdin create
# 2. Duplikujte vzorový konfigurační soubor
cp .env.example .env
This file contains hidden or 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 App\Http\Client; | |
| use GuzzleHttp\Client; | |
| use GuzzleHttp\HandlerStack; | |
| use GuzzleHttp\TransferStats; | |
| use Megio\Helper\Path; | |
| use Psr\Http\Message\RequestInterface; |
This file contains hidden or 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); | |
| //enable errors | |
| ini_set('display_errors', '1'); | |
| ini_set('display_startup_errors', '1'); | |
| error_reporting(E_ALL); | |
| ini_set('max_execution_time', '0'); | |
| ini_set('memory_limit', '-1'); |
This file contains hidden or 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
| /** | |
| * Copyright (c) 2019 Wakers.cz | |
| * @author Jiří Zapletal (https://www.wakers.cz, zapletal@wakers.cz) | |
| */ | |
| document.createTable = function () { | |
| var table = document.createElement("table"); | |
| var tableBody = document.createElement("tbody"); | |
| var rows = document.querySelectorAll("[role='row']"); // Rows selector | |
| for (var x = 0; x < rows.length; x++) { |