Browse Source

excluir o script open_short - compatibilidade com php

1.8.1-monitor
bruno 1 year ago
parent
commit
0b45da5bc3
  1. 15
      verifica_open_short.sh

15
verifica_open_short.sh

@ -1,15 +0,0 @@
#!/bin/bash
path_file=$(find /var/www/html/aplicativo/ -type f |grep -E ".*\.php.*"|sed 's/ /#/g' )
for file in $path_file
do
file=$(echo $file |sed 's/#/ /g')
sed -i 's/<? /<?php /g' "${file}"
echo ">${file}"
done
Loading…
Cancel
Save