mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- file uploading/downloading fixes;
This commit is contained in:
@@ -54,6 +54,12 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
public $is_filtering;
|
||||
|
||||
|
||||
/**
|
||||
* @var
|
||||
*/
|
||||
public $permalinks;
|
||||
|
||||
|
||||
/**
|
||||
* @var array Languages
|
||||
*/
|
||||
@@ -173,6 +179,9 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
* @since 2.0.18
|
||||
*/
|
||||
function _um_construct() {
|
||||
if ( get_option( 'permalink_structure' ) )
|
||||
$this->permalinks = true;
|
||||
|
||||
//register autoloader for include UM classes
|
||||
spl_autoload_register( array( $this, 'um__autoloader' ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user