CoreFiles by mySites.guru
namespaceFontAwesome.php19 lines, 534 bytes, from Joomla_4.1.3-Stable-Full_Package.zip
Raw History Compare with 4.1.2
md5
fafbba967bbc0b9ed5bcbccc3835940a
sha1
eda559ee4814494c84d62d2e66f608473aa95a18
sha256
f9beb21ac632a49d487af25059dd05231709084384de058ac421285425aa9581
<?php

$path = __DIR__ . '/../src/DebugBar/Resources/vendor/font-awesome/css/font-awesome.min.css';
$contents = file_get_contents($path);

if (strpos($contents, 'PhpDebugbarFontAwesome') !== false ){
    exit('Already namespaced');
}

// namespace FontAwesome occurrences
$contents = str_replace(['FontAwesome', 'fa-', '.fa'], ['PhpDebugbarFontAwesome', 'phpdebugbar-fa-', '.phpdebugbar-fa'], $contents);

if (file_put_contents($path, $contents)) {
    echo "Updated font-awesome.min.css";
} else {
    echo "No content written";
}


The same content is in 3 releases, Joomla 4.1.3-rc1 to 4.1.4-rc1. See them all, or every version of this file.