mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 15:47:32 +02:00
Sorry, forgot the filename...
@@ -10,7 +10,7 @@ Place the following content in a file called **downgrade.sh** in the **root fold
|
||||
echo "Downgrade RSS-Bridge to PHP 5.4.0"
|
||||
|
||||
# index.php
|
||||
sed -i 's/5.6.0/5.4.0/g; s/INI_SCANNER_TYPED/INI_SCANNER_RAW/g; s/if(!is_bool(\($config.*\)))/\1 = (\1 === "true");\n&/'
|
||||
sed -i 's/5.6.0/5.4.0/g; s/INI_SCANNER_TYPED/INI_SCANNER_RAW/g; s/if(!is_bool(\($config.*\)))/\1 = (\1 === "true");\n&/' ./index.php
|
||||
|
||||
# html.php
|
||||
sed -i 's/$bridgeClass::PARAMETERS/$bridgeClass::$PARAMETERS/g' ./lib/html.php
|
||||
|
Reference in New Issue
Block a user