This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 13
13
// midas core files
14
14
require_once BASE_PATH . '/notification/MIDASNotifier.php ' ;
15
15
require_once BASE_PATH . '/notification/GlobalNotification.php ' ;
16
+ require_once BASE_PATH . '/core/GlobalComponent.php ' ;
17
+ require_once BASE_PATH . '/core/AppComponent.php ' ;
16
18
require_once BASE_PATH . '/core/GlobalController.php ' ;
17
19
require_once BASE_PATH . '/modules/GlobalModule.php ' ;
18
- require_once BASE_PATH . '/core/GlobalComponent.php ' ;
19
20
require_once BASE_PATH . '/core/models/MIDASModel.php ' ;
20
21
21
22
require_once BASE_PATH . '/core/models/MIDASDatabaseInterface.php ' ;
29
30
require_once BASE_PATH . '/core/ComponentLoader.php ' ;
30
31
31
32
require_once BASE_PATH .'/core/AppController.php ' ;
32
- require_once BASE_PATH .'/core/AppComponent.php ' ;
33
33
require_once BASE_PATH .'/core/AppForm.php ' ;
34
34
require_once BASE_PATH .'/core/models/AppModel.php ' ;
35
35
require_once BASE_PATH .'/core/models/AppDao.php ' ;
Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ function createDefaultAssetstore()
128
128
$ modelLoader ->loadModel ('Assetstore ' );
129
129
130
130
// path munging
131
- $ testAssetstoreBase = BASE_PATH .'/tmp/misc/test ' ;
131
+ require_once BASE_PATH .'/core/controllers/components/UtilityComponent.php ' ;
132
+ $ testAssetstoreBase = UtilityComponent::getTempDirectory ().'/test/ ' ;
132
133
$ testAssetstoreBase = str_replace ('tests/../ ' , '' , $ testAssetstoreBase );
133
134
$ testAssetstoreBase = str_replace ('// ' , '/ ' , $ testAssetstoreBase );
134
135
You can’t perform that action at this time.
0 commit comments