HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/theflexguys.com/baronconstruct/wp-content/themes/vigilance/functions.php
<?php
//Set language folder and load textdomain
if (file_exists(STYLESHEETPATH . '/languages' ))
	$language_folder = (STYLESHEETPATH . '/languages' );
else
	$language_folder = (TEMPLATEPATH . '/languages' );
load_theme_textdomain( 'vigilance', $language_folder);

//Add support for post thumbnails
if ( function_exists( 'add_theme_support' ) )
	add_theme_support( 'post-thumbnails' );

//Redirect to theme options page on activation
if ( is_admin() && isset($_GET['activated'] ) && $pagenow ==	"themes.php" )
	wp_redirect( 'themes.php?page=vigilance-admin.php' );

// Required functions
if (is_file(STYLESHEETPATH . '/functions/sidebars.php' ))
	require_once(STYLESHEETPATH . '/functions/sidebars.php' );
else
	require_once(TEMPLATEPATH . '/functions/sidebars.php' );

if (is_file(STYLESHEETPATH . '/functions/comments.php' ))
	require_once(STYLESHEETPATH . '/functions/comments.php' );
else
	require_once(TEMPLATEPATH . '/functions/comments.php' );

if (is_file(STYLESHEETPATH . '/functions/vigilance-extend.php' ))
	require_once(STYLESHEETPATH . '/functions/vigilance-extend.php' );
else
	require_once(TEMPLATEPATH . '/functions/vigilance-extend.php' );
?>