* maybe fix for init download routing;

This commit is contained in:
Mykyta Synelnikov
2024-10-02 13:47:42 +03:00
parent f6818efbc2
commit 73365aeea4
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -550,6 +550,7 @@ if ( ! class_exists( 'UM' ) ) {
$this->user();
$this->profile();
$this->builtin();
$this->files();
$this->form()->hooks();
$this->permalinks();
$this->cron();
@@ -1273,7 +1274,7 @@ if ( ! class_exists( 'UM' ) ) {
*
* @return um\core\Files
*/
function files() {
public function files() {
if ( empty( $this->classes['files'] ) ) {
$this->classes['files'] = new um\core\Files();
}
-1
View File
@@ -80,7 +80,6 @@ if ( ! class_exists( 'um\core\Files' ) ) {
);
}
/**
* File download link generate
*