Skip to content

Commit 1063357

Browse files
sounds pt_br
1 parent b98ebba commit 1063357

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

build/MagnusBilling-current.tar.gz

160 Bytes
Binary file not shown.

script/install.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ clear
33
echo
44
echo
55
echo
6-
echo "===================BY WWW.MAGNUSSOLUTION.COM=========================";
6+
echo "===================BY WWW.MAGNUSBILLING.ORG=========================";
77
echo "_ _ ______ _ _ _ _ ";
88
echo "|\ /| | ___ (_) | (_) ";
99
echo "| \ / | ___ ____ _ __ _ _ _____ | |_/ /_| | |_ _ __ ____ ";
@@ -189,19 +189,16 @@ AddType application/octet-stream .csv
189189
rm -rf ${PHP_INI}_old
190190
cp -rf ${PHP_INI} ${PHP_INI}_old
191191

192-
sed -i "s/memory_limit = 16M/memory_limit = 512M /" ${PHP_INI}
193-
sed -i "s/memory_limit = 128M/memory_limit = 512M /" ${PHP_INI}
194192
sed -i "s/upload_max_filesize = 2M/upload_max_filesize = 3M /" ${PHP_INI}
195193
sed -i "s/post_max_size = 8M/post_max_size = 20M/" ${PHP_INI}
196194
sed -i "s/max_execution_time = 30/max_execution_time = 90/" ${PHP_INI}
197195
sed -i "s/max_input_time = 60/max_input_time = 120/" ${PHP_INI}
198196
sed -i '/date.timezone/s/= .*/= '$phptimezone'/' ${PHP_INI}
199197
sed -i "s/session.cookie_secure = 1/" ${PHP_INI}
200-
201198
sed -i 's/User ${APACHE_RUN_USER}/User asterisk/' ${HTTP_CONFIG}
202199
sed -i 's/Group ${APACHE_RUN_GROUP}/Group asterisk/' ${HTTP_CONFIG}
203-
sed -i "s/memory_limit = 16M/memory_limit = 512M /" /etc/php/8.1/apache2/php.ini
204-
sed -i "s/memory_limit = 128M/memory_limit = 512M /" /etc/php/8.1/apache2/php.ini
200+
sed -i "s/memory_limit = 16M/memory_limit = 512M /" ${PHP_INI}
201+
sed -i "s/memory_limit = 128M/memory_limit = 512M /" ${PHP_INI}
205202
mkdir -p /var/www/html
206203
sed -i 's/<Directory \/var\/www\/>/<Directory \/var\/www\/html\/>/' ${HTTP_CONFIG}
207204

@@ -316,6 +313,8 @@ installBr() {
316313
language='br'
317314
cp -rf /var/www/html/mbilling/script/br /var/lib/asterisk/
318315
cd /var/lib/asterisk
316+
wget --no-check-certificate https://raw.githubusercontent.com/magnussolution/magnusbilling7/source/script/sounds/Sounds-br.tar.gz
317+
tar xzvf Sounds-br.tar.gz
319318
}
320319

321320
installEn() {
File renamed without changes.

0 commit comments

Comments
 (0)