Changeset 7501


Ignore:
Timestamp:
Oct 30, 2010, 5:07:18 PM (13 years ago)
Author:
grum
Message:

Add possibility to configure the url for the extension manager
feature:1966

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r6523 r7501  
    134134}
    135135define('PHPWG_URL', 'http://'.PHPWG_DOMAIN);
    136 define('PEM_URL', 'http://'.PHPWG_DOMAIN.'/ext');
     136
     137if(isset($conf['alternative_pem_url']) and $conf['alternative_pem_url']!='')
     138{
     139  define('PEM_URL', $conf['alternative_pem_url']);
     140}
     141else
     142{
     143  define('PEM_URL', 'http://'.PHPWG_DOMAIN.'/ext');
     144}
    137145
    138146
  • trunk/include/config_default.inc.php

    r6951 r7501  
    515515$conf['users_table'] = $prefixeTable.'users';
    516516
    517 // If you decide to use external authentication 
     517// If you decide to use external authentication
    518518// change conf below by $conf['external_authentification'] = true;
    519519$conf['external_authentification'] = false;
     
    786786// enable the synchronization method for adding photos
    787787$conf['enable_synchronization'] = true;
     788
     789// PEM url
     790$conf['alternative_pem_url'] = '';
     791
     792
    788793?>
Note: See TracChangeset for help on using the changeset viewer.