Móulo de administração do layout Vetor Panel
- Novo SGA v1.3 até v1.5 (NÃO É COMPATÍVEL COM A v2.0)
- Permisão de escrita no diretório modules
- Extensão php-zip instalada
- Extensão php-xml instalada
server { | |
listen 80; | |
root /var/www/novosga/; | |
index index.php index.html index.htm; | |
server_name localhost; | |
location / { | |
try_files $uri $uri/ /public/index.php?$query_string; |
Antes de começar é necessário que tenha o Painel-Web instalado e funcionando corretamente.
Extrair os arquivos do tema dentro da pasta "themes" do Painel-Web. Depois abra as Configurações do Painel e no campo "Tema" preencha com o nome da pasta do tema dentro da pasta themes (a pasta que acabou de criar).
Ex:
#!/bin/sh | |
cat zebra-label.txt|lp -d <printername> -o raw |
<?php | |
$url = isset($_GET['url']) ? $_GET['url'] : ''; | |
if (filter_var($url, FILTER_VALIDATE_URL) === false || strtolower(substr($url, 0, 4)) !== 'http') { | |
echo("URL inválida: $url"); | |
exit(); | |
} | |
$proxy = null; // "http://192.168.0.10:3128" |
<?php | |
$url = isset($_GET['url']) ? $_GET['url'] : ''; | |
if (filter_var($url, FILTER_VALIDATE_URL) === false || strtolower(substr($url, 0, 4)) !== 'http') { | |
echo("URL inválida: $url"); | |
exit(); | |
} | |
$proxy = null; // "http://192.168.0.10:3128" |
# | |
# Video Scaler | |
# https://gist.github.com/rogeriolino/b2abcbbc0f7bd8ebc18b4cd0975f5a3b | |
# | |
# Place the MP4 files in the same video-scaler.sh script directory. | |
# Finished (done) files will placed in $FINISHED_DIR directory. | |
# New resized files will placed in $OUTPUT_DIR directory. | |
# | |
SCALE=320 | |
OUTPUT_DIR=output |