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
!function() { | |
var wrap = document.querySelector('.tdb-autoload-wrap'), | |
base = location.href; | |
if (wrap) { | |
window.addEventListener('scroll', function(e) { | |
var wndTop = window.scrollY, | |
wndBottom = wndTop + window.innerHeight, | |
wndHeight = window.innerHeight, | |
currentArticle, |
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
#!/bin/bash | |
#%$ set -e # Прерывание работы скрипта в случае ошибки | |
REPOSITORY=https://github.com/<username>/<project> | |
BRANCH=master | |
WORK_PATH=/path/to/this/script | |
PROJECT_PATH=/path/to/project/base/path | |
TEMP_DIR_NAME=`date +%Y-%m-%d_%H:%M:%S` | |
PHP_BIN=/opt/php74/bin/php |
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 | |
namespace Database\Seeders; | |
use EvolutionCMS\Models\{SiteTemplate, SiteTmplvarTemplate, SiteTmplvar}; | |
use Illuminate\Database\Seeder; | |
class CreateTVSeeder extends Seeder | |
{ | |
protected function getTemplateAliasesToAssign() |
OlderNewer