mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-30 05:24:05 +02:00
Add possibility to configure the url for the extension manager
feature:1966 git-svn-id: http://piwigo.org/svn/trunk@7501 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+10
-2
@@ -133,7 +133,15 @@ else {
|
||||
define('PHPWG_DOMAIN', 'piwigo.org');
|
||||
}
|
||||
define('PHPWG_URL', 'http://'.PHPWG_DOMAIN);
|
||||
define('PEM_URL', 'http://'.PHPWG_DOMAIN.'/ext');
|
||||
|
||||
if(isset($conf['alternative_pem_url']) and $conf['alternative_pem_url']!='')
|
||||
{
|
||||
define('PEM_URL', $conf['alternative_pem_url']);
|
||||
}
|
||||
else
|
||||
{
|
||||
define('PEM_URL', 'http://'.PHPWG_DOMAIN.'/ext');
|
||||
}
|
||||
|
||||
|
||||
// language files
|
||||
@@ -235,4 +243,4 @@ add_event_handler('render_comment_content', 'parse_comment_content');
|
||||
add_event_handler('render_comment_author', 'strip_tags');
|
||||
add_event_handler('blockmanager_register_blocks', 'register_default_menubar_blocks', EVENT_HANDLER_PRIORITY_NEUTRAL-1);
|
||||
trigger_action('init');
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user