-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
69 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "2.0.7.2", | ||
"version": "2.0.8", | ||
"status": "dev", | ||
"dle": [ | ||
"15.x" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 0 additions & 124 deletions
124
upload/engine/inc/maharder/_includes/extras/autoloader.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
<?php | ||
|
||
if (!defined('DATALIFEENGINE')) { | ||
header('HTTP/1.1 403 Forbidden'); | ||
header('Location: ../../../../../'); | ||
if ( ! defined('DATALIFEENGINE')) { | ||
header('HTTP/1.1 403 Forbidden'); | ||
header('Location: ../../../../../'); | ||
|
||
exit('Hacking attempt!'); | ||
} | ||
exit('Hacking attempt!'); | ||
} | ||
|
||
if(!defined('MH_ROOT')) define("MH_ROOT", ENGINE_DIR . '/inc/maharder'); | ||
if(!defined('MH_ADMIN')) define("MH_ADMIN", MH_ROOT . '/admin'); | ||
if(!defined('ROOT')) define("ROOT", ROOT_DIR); | ||
$current_dir = __DIR__; | ||
if (preg_grep('/(cache)/', explode("\n", $current_dir))) $current_dir = dirname(__FILE__, 5); | ||
else $current_dir = dirname(__FILE__, 6); | ||
|
||
$loader_paths = [ | ||
MH_ROOT.'/_includes/classes', | ||
MH_ROOT.'/_includes/traits', | ||
// Custom paths // | ||
]; | ||
if ( ! defined('ROOT')) { | ||
define("ROOT", $current_dir); | ||
} | ||
if ( ! defined('MH_ROOT')) { | ||
define("MH_ROOT", ROOT.'/engine/inc/maharder'); | ||
} | ||
if ( ! defined('MH_ADMIN')) { | ||
define("MH_ADMIN", MH_ROOT.'/admin'); | ||
} | ||
|
||
include_once ENGINE_DIR . '/inc/maharder/_includes/vendor/autoload.php'; | ||
require_once DLEPlugins::Check(MH_ROOT.'/_includes/extras/loader.php'); | ||
$mh_loader_paths = [ | ||
MH_ROOT.'/_includes/classes', | ||
MH_ROOT.'/_includes/traits', | ||
// Custom paths // | ||
]; | ||
|
||
include_once MH_ROOT.'/_includes/extras/mhLoader.php'; | ||
include_once ENGINE_DIR.'/inc/maharder/_includes/vendor/autoload.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.