| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/piaprd/wp-content/plugins/font-awesome/ |
Upload File : |
<?php
namespace FortAwesome;
// Loader pattern follows that of wponion.
// Thanks to Varun Sridharan <varunsridharan23@gmail.com>.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
require_once trailingslashit( __DIR__ ) . 'defines.php';
require_once trailingslashit( FONTAWESOME_DIR_PATH ) . 'includes/class-fontawesome-exception.php';
require_once trailingslashit( FONTAWESOME_DIR_PATH ) . 'includes/error-util.php';
if ( ! defined( 'FONTAWESOME_OFFICIAL_LOADED' ) ) {
register_deactivation_hook(
FONTAWESOME_DIR_PATH . 'index.php',
function() {
try {
require_once FONTAWESOME_DIR_PATH . 'includes/class-fontawesome-deactivator.php';
FontAwesome_Deactivator::deactivate();
} catch ( Exception $e ) {
/**
* This will not block the deactivation since we're not exiting, but it will probably flash
* this error message before redirecting to plugins.php to report that the plugin was deactivated.
*/
echo '<div class="error"><p>Fatal exception while deactivating Font Awesome.</p></div>';
} catch ( Error $e ) {
echo '<div class="error"><p>Fatal error while deactivating Font Awesome.</p></div>';
}
}
);
try {
require_once trailingslashit( FONTAWESOME_DIR_PATH ) . 'includes/class-fontawesome.php';
define( 'FONTAWESOME_OFFICIAL_LOADED', 1 );
fa()->run();
} catch ( Exception $e ) {
notify_admin_fatal_error( $e );
} catch ( Error $e ) {
notify_admin_fatal_error( $e );
}
}