-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.php
More file actions
20 lines (19 loc) · 776 Bytes
/
init.php
File metadata and controls
20 lines (19 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
* Created by PhpStorm.
* User: Dario
* Date: 23/01/2017
* Time: 15:20
*/
$preference = BOL_PreferenceService::getInstance()->findPreference('spodpr_components_url');
$spodpr_components_url = empty($preference) ? "http://deep.routetopa.eu/deep-components/" : $preference->defaultValue;
define("SPOD_COMPONENTS_URL", $spodpr_components_url);
if(OW::getPluginManager()->isPluginActive('ode') &&
OW::getPluginManager()->isPluginActive('spodpublic') &&
OW::getPluginManager()->isPluginActive('spodpr') &&
OW::getPluginManager()->isPluginActive('cocreation') &&
OW::getPluginManager()->isPluginActive('newsfeed') &&
OW::getPluginManager()->isPluginActive('mailbox')
){
SPODREPUTATION_BOL_Service::getInstance()->initDb();
}