| Server IP : 212.183.175.188 / Your IP : 216.73.217.18 Web Server : Apache System : Linux duemilacom6.interac.it 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 User : cvevolpi ( 10022) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/cvevolpi.it/httpdocs/wp-content/themes/sentinelPROD/framework/ |
Upload File : |
<?php
$FWORK = array();
/**
* Framework is basically divided into 3 parts:
* ============================================
* - frontend -> its mainly wrapping the classic wordpress functions ( for example the_content() is wrapped by fPostPrinter::postContent() )
* - backend -> here are located all custom theme pages and options ( for example Site Options, Sidebar Manager and others )
* - engine -> all support functions ( pagination, widgets, gallery querying and others )
*/
// versions
require_once get_template_directory().'/framework/versions.php';
// necessary files for properly autoloading
require_once get_template_directory().'/framework/loadfirst/loader.php';
fLoader::loadFolderRecursive( get_template_directory().'/framework/loadfirst/');
fLoader::loadFolderRecursive( get_template_directory().'/framework/engine/');
fLoader::loadFolderRecursive( get_template_directory().'/framework/datastructures/');
fLoader::loadFolderRecursive( get_template_directory().'/framework/libs/');
fLoader::loadFolderRecursive( get_template_directory().'/printers/' );
if ( is_admin() ) {
fLoader::loadFolderRecursive( get_template_directory().'/framework/backend/');
fLoader::loadTemplates(get_template_directory().'/templates/post/');
}
else {
fLoader::loadFolderRecursive( get_template_directory().'/framework/frontend/');
}
//if( is_admin() || isset($_GET['s'] ) ) {
fLoader::loadTemplates(get_template_directory().'/templates/blog/');
fLoader::loadTemplates(get_template_directory().'/templates/portfolio/');
//}
// manage
add_action('admin_init', 'fw_common_scripts');
fImg::DeleteCache();
function fw_common_scripts(){
}
// hustle backend admin menu's
function manage_admin_menu() {
global $theme_name;
// main page
}
do_action('ff_framework_loaded');
?>