Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
Update Font Awesome to 5.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Aug 6, 2021
1 parent 8637399 commit 1b1eca2
Showing 1 changed file with 32 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin name="(aXen) Font Awesome 5 in IPS" version_long="515007" version_human="5.15.3.1" author="aXenDev" website="https://axendev.net/" update_check="https://files.axendev.net/projects/ips/plugins/fontawesome5/check.php"><hooks><hook type="S" class="\IPS\Theme\class_core_front_global" filename="aXenFontAwesome"><![CDATA[//<?php
<plugin name="(aXen) Font Awesome 5 in IPS" version_long="515008" version_human="5.15.4" author="aXenDev" website="https://axendev.net/" update_check="https://files.axendev.net/projects/ips/plugins/fontawesome5/check.php"><hooks><hook type="S" class="\IPS\Theme\class_core_front_global" filename="aXenFontAwesome"><![CDATA[//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
Expand All @@ -19,8 +19,8 @@ public static function hookData() {
array (
'selector' => 'html > head',
'type' => 'add_inside_end',
'content' => '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/v4-shims.css">',
'content' => '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/v4-shims.css">',
),
),
), parent::hookData() );
Expand Down Expand Up @@ -520,6 +520,35 @@ class ips_plugins_setup_upg_515007
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}]]></version><version long="515008" human="5.15.4"><![CDATA[//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 5.15.4 Upgrade Code
*/
class ips_plugins_setup_upg_515008
{
/**
* ...
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step1()
{
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}]]></version></versions></plugin>

0 comments on commit 1b1eca2

Please sign in to comment.