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 | |
if (substr(php_sapi_name(), 0, 3) !== 'cli') { | |
die(); | |
} | |
define('NO_KEEP_STATISTIC', true); | |
define('NO_AGENT_CHECK', true); | |
if (empty($_SERVER['DOCUMENT_ROOT'])) { | |
$_SERVER['DOCUMENT_ROOT'] = '/home/bitrix/www'; | |
} |
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
<html> | |
<head> | |
<title>Checkbox</title> | |
<style> | |
input[type=checkbox] { | |
display:none; | |
} | |
input[type=checkbox] + label | |
{ |
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
Aug 11 17:10:17.38601 [master] starting task #500 threads: 20 | |
failed start Child: SE::Yandex::Register Error: Cannot init Parser: Error: child_process.spawn is not allowed | |
at Object.spawn (evalmachine.<anonymous>:1:4458) | |
at Object.<anonymous> (evalmachine.<anonymous>:1:6374) | |
at BrowserRunner.start (C:\Users\Администратор\Desktop\aparser\dist\nodejs\node_modules\puppeteer\lib\cjs\puppeteer\node\BrowserRunner.js:95:34) | |
at ChromeLauncher.launch (C:\Users\Администратор\Desktop\aparser\dist\nodejs\node_modules\puppeteer\lib\cjs\puppeteer\node\Launcher.js:113:16) | |
at PuppeteerNode.launch (C:\Users\Администратор\Desktop\aparser\dist\nodejs\node_modules\puppeteer\lib\cjs\puppeteer\node\Puppeteer.js:125:31) | |
at PuppeteerExtra.launch (C:\Users\Администратор\Desktop\aparser\dist\nodejs\node_modules\puppeteer-extra\dist\index.cjs.js:129:41) | |
at async Function.launchPuppeteer (evalmachine.<anonymous>:1:33732) | |
at async SE_Yandex_Register.puppeteer_launch (evalmachine.<anonymous>:1:34223) |
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
server { | |
listen 111.43.160.59:80; | |
server_name site.net www.site.net; | |
return 301 https://site.net$request_uri; | |
root /home/admin/web/site.net/public_html/public; | |
index index.php index.html index.htm; | |
access_log /var/log/nginx/domains/site.net.log combined; | |
access_log /var/log/nginx/domains/site.net.bytes bytes; | |
error_log /var/log/nginx/domains/site.net.error.log error; | |
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
server { | |
listen 80 default_server; | |
server_name example.com www.example.com; | |
access_log /srv/www/example.com/logs/access.log; | |
error_log /srv/www/example.com/logs/error.log; | |
root /srv/www/example.com/public; | |
index index.php index.html; |