%PDF-
%PDF-
Mini Shell
Mini Shell
<?php
/**
* Filesystem Class.
* @since 2.0.6
*/
class FL_Filesystem {
protected static $_instance = null;
public static function instance() {
if ( is_null( self::$_instance ) ) {
/**
* Make Filesystem Instance filterable.
* @see fl_filesystem_instance
*/
$filtered = apply_filters( 'fl_filesystem_instance', null );
self::$_instance = $filtered instanceof FL_Filesystem ? $filtered : new self();
}
return self::$_instance;
}
/**
* file_get_contents using wp_filesystem.
* @since 2.0.6
*/
function file_get_contents( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->get_contents( $path );
}
/**
* is_writable using wp_filesystem.
* @since 2.1.2
*/
function is_writable( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->is_writable( $path );
}
/**
* file_put_contents using wp_filesystem.
* @since 2.0.6
*/
function file_put_contents( $path, $contents ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->put_contents( $path, $contents, FS_CHMOD_FILE );
}
/**
* mkdir using wp_filesystem.
* @since 2.0.6
*/
function mkdir( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->mkdir( $path );
}
/**
* is_dir using wp_filesystem.
* @since 2.0.6
*/
function is_dir( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->is_dir( $path );
}
/**
* dirlist using wp_filesystem.
* @since 2.0.6
*/
function dirlist( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->dirlist( $path );
}
/**
* move using wp_filesystem.
* @since 2.0.6
*/
function move( $old, $new ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->move( $old, $new );
}
/**
* rmdir using wp_filesystem.
* @since 2.0.6
*/
function rmdir( $path, $recursive = false ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->rmdir( $path, $recursive );
}
/**
* unlink using wp_filesystem.
* @since 2.0.6
*/
function unlink( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->delete( $path );
}
/**
* unlink using wp_filesystem.
* @since 2.0.6
*/
function file_exists( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->exists( $path );
}
/**
* filesize using wp_filesystem.
* @since 2.0.6
*/
function filesize( $path ) {
$wp_filesystem = $this->get_filesystem();
return $wp_filesystem->size( $path );
}
/**
* Return an instance of WP_Filesystem.
* @since 2.0.6
*/
function get_filesystem() {
global $wp_filesystem;
if ( ! $wp_filesystem || 'direct' != $wp_filesystem->method ) {
require_once ABSPATH . '/wp-admin/includes/file.php';
/**
* Context for filesystem, default false.
* @see request_filesystem_credentials_context
*/
$context = apply_filters( 'request_filesystem_credentials_context', false );
add_filter( 'filesystem_method', array( $this, 'filesystem_method' ) );
add_filter( 'request_filesystem_credentials', array( $this, 'request_filesystem_credentials' ) );
$creds = request_filesystem_credentials( site_url(), '', true, $context, null );
WP_Filesystem( $creds, $context );
remove_filter( 'filesystem_method', array( $this, 'filesystem_method' ) );
remove_filter( 'request_filesystem_credentials', array( $this, 'FLBuilderUtils::request_filesystem_credentials' ) );
}
// Set the permission constants if not already set.
if ( ! defined( 'FS_CHMOD_DIR' ) ) {
define( 'FS_CHMOD_DIR', 0755 );
}
if ( ! defined( 'FS_CHMOD_FILE' ) ) {
define( 'FS_CHMOD_FILE', 0644 );
}
return $wp_filesystem;
}
/**
* Sets method to direct.
* @since 2.0.6
*/
function filesystem_method() {
return 'direct';
}
/**
* Sets credentials to true.
* @since 2.0.6
*/
function request_filesystem_credentials() {
return true;
}
}
/**
* Setup singleton.
* @since 2.0.6
*/
function fl_builder_filesystem() {
return FL_Filesystem::instance();
}
Zerion Mini Shell 1.0
Reliable Trucking and Freight Services - CALZONA LLC
Skip to content
Transporting
Goods From Coast to Coast
A Trusted Provider of Exceptional Delivery Services
Transporting
Goods From Coast to Coast
A Trusted Provider of Exceptional Delivery Services
Rely on Us for
All Your Trucking Needs
Located in Fort Myers, Florida, CALZONA LLC is an exceptional intermodal freight service that has roots in the trucking industry. Our team works hard to provide you with superior services.
Rest easy knowing that we train all our employees to make sure that transfers are done seamlessly so that there is no time wasted during the delivery process. With our experienced drivers transporting your goods, we can efficiently send your packages and get them to their recipients on time and in the condition you sent them in.
We are searching for seasoned drivers to deliver freight safely and promptly. Our team will be a vital part of reaching an exceptional level of service. Become a part of our crew now to help us build excellence.
For additional information about our company and what we offer, contact us today. We look forward to hearing from you.
Scroll To Top