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
#!/usr/bin/php -d open_basedir=/usr/syno/bin/ddns | |
<?php | |
if ($argc !== 5) { | |
echo 'badparam'; | |
exit(); | |
} | |
$cf = new updateCFDDNS($argv); | |
$cf->makeUpdateDNS(); |
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
DocumentRoot /your/document/root | |
ProxyRequests off | |
ProxyPreserveHost On | |
ProxyPass / http://127.0.0.1:6000/ retry=0 | |
ProxyPassReverse / http://127.0.0.1:6000/ | |
<Location "/"> | |
AddOutputFilterByType SUBSTITUTE text/html | |
Substitute 's|</head>|<script src="my-customjs.js"></script></head>|i' | |
</Location> |
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
jQuery(document).ready(function ($) { | |
try { | |
var url = new URL(document.location.href), | |
tab = parseInt(url.searchParams.get('tab')); | |
if (tab) { | |
var $title = $('#elementor-tab-title-' + tab), | |
$content = $('#elementor-tab-content-' + tab), | |
tabIndex = $title.data('tab'); | |