function the_gallery_head() { plogger_head(); $use_file = 'head.php'; if (file_exists(THEME_DIR . "/" . $use_file)) { include THEME_DIR . "/" . $use_file; } else { include dirname(__FILE__) . '/themes/default/' . $use_file; } }
function the_plogger_head() { plogger_head(); $use_file = 'head.php'; if (file_exists(THEME_DIR . '/' . $use_file)) { include THEME_DIR . '/' . $use_file; } else { include PLOGGER_DIR . 'plog-content/themes/default/' . $use_file; } }