projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds a dynamic configuration ini file.
[platal.git]
/
include
/
banana
/
ml.inc.php
diff --git
a/include/banana/ml.inc.php
b/include/banana/ml.inc.php
index
4880a53
..
1d72b5d
100644
(file)
--- a/
include/banana/ml.inc.php
+++ b/
include/banana/ml.inc.php
@@
-29,7
+29,7
@@
class MLBanana extends Banana
function __construct($forlife, $params = null)
{
function __construct($forlife, $params = null)
{
-
global $globals;
+ global $globals;
Banana::$spool_root = $globals->banana->spool_root;
Banana::$spool_boxlist = false;
Banana::$msgedit_canattach = true;
Banana::$spool_root = $globals->banana->spool_root;
Banana::$spool_boxlist = false;
Banana::$msgedit_canattach = true;
@@
-38,7
+38,7
@@
class MLBanana extends Banana
Banana::$mbox_helper = $globals->banana->mbox_helper;
if (S::has_perms()) {
Banana::$msgshow_mimeparts[] = 'source';
Banana::$mbox_helper = $globals->banana->mbox_helper;
if (S::has_perms()) {
Banana::$msgshow_mimeparts[] = 'source';
- }
+ }
array_push(Banana::$msgparse_headers, 'x-org-id', 'x-org-mail');
if (!S::v('core_rss_hash')) {
Banana::$feed_active = false;
array_push(Banana::$msgparse_headers, 'x-org-id', 'x-org-mail');
if (!S::v('core_rss_hash')) {
Banana::$feed_active = false;
@@
-61,12
+61,12
@@
class MLBanana extends Banana
// Build user profile
Banana::$profile['headers']['From'] = "$nom <$mail>";
// Build user profile
Banana::$profile['headers']['From'] = "$nom <$mail>";
- Banana::$profile['headers']['Organization'] =
'Utilisateur de Polytechnique.org'
;
+ Banana::$profile['headers']['Organization'] =
make_Organization()
;
Banana::$profile['signature'] = $sig;
Banana::$profile['signature'] = $sig;
-
+
// Page design
Banana::$page->killPage('forums');
// Page design
Banana::$page->killPage('forums');
- Banana::$page->killPage('subscribe');
+ Banana::$page->killPage('subscribe');
// Run Banana
return parent::run();
// Run Banana
return parent::run();