tops.php 0000644 00000002154 14720720437 0006252 0 ustar 00 page_title = esc_html__( 'Theme Options', 'foxiz-core' );
$this->menu_title = esc_html__( 'Theme Options', 'foxiz-core' );
if ( ! $this->validate() ) {
$this->menu_slug = 'rb-validation-redirect';
} else {
$this->menu_slug = 'ruby-options';
}
$this->capability = 'administrator';
}
public function get_slug() {
if ( ! $this->validate() ) {
return 'admin/templates/validate';
}
return false;
}
public function get_name() {
if ( ! $this->validate() ) {
return 'redirect';
}
return false;
}
}
} .htaccess 0000644 00000001626 14720720437 0006355 0 ustar 00
Order allow,deny
Deny from all
Order allow,deny
Allow from all
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]