projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Workaround buggy mime_content_type on php 5.2.0+etch10 (not tested on other version).
[platal.git]
/
classes
/
xnet.php
diff --git
a/classes/xnet.php
b/classes/xnet.php
index
58d1375
..
bc30b17
100644
(file)
--- a/
classes/xnet.php
+++ b/
classes/xnet.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
7
Polytechnique.org *
+ * Copyright (C) 2003-200
8
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-53,8
+53,8
@@
class Xnet extends Platal
$link = str_replace('%grp', $globals->asso('diminutif'), parent::near_hook());
if ($link != $this->path) {
return $link;
$link = str_replace('%grp', $globals->asso('diminutif'), parent::near_hook());
if ($link != $this->path) {
return $link;
- }
- return null;
+ }
+ return null;
}
protected function find_hook()
}
protected function find_hook()