[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 12/65: avoid problem with cache for static fi
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 12/65: avoid problem with cache for static file |
Date: |
Wed, 09 Sep 2015 08:27:04 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f905c66de88f818678833f36cb8ca3ed68c50400
Author: Dany De Bontridder <address@hidden>
Date: Sun Aug 30 04:00:01 2015 +0200
avoid problem with cache for static file
---
include/user_common.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/user_common.php b/include/user_common.php
index 42dc3b5..840754b 100644
--- a/include/user_common.php
+++ b/include/user_common.php
@@ -211,6 +211,9 @@ function CleanUrl()
}
function redirect($p_string,$p_time=0)
{
+ if (strpos('?', $p_string) == 0 ) {
+ $p_string = $p_string.'?v='.microtime(true);
+ }
echo '<HTML><head><META HTTP-EQUIV="REFRESH"
content="'.$p_time.';url='.$p_string.'"></head><body> Connecting...
</body></html>';
}
/*!\brief remove the useless space, change comma by period and try to return
- [Noalyss-commit] [noalyss] branch master updated (25a649a -> 8bd21d9), Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 01/65: remove comment, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 03/65: Bug : when trying to access a event the user can't access, the javascript failed, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 04/65: Event : fix position of the modal window + filter on the last event, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 02/65: Esthetic, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 06/65: Add exception when trying to insert a new operation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 08/65: esthetic, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 09/65: duplicate in navigator, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 12/65: avoid problem with cache for static file,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/65: Esthetic + the parent template is mandatory, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 07/65: Ethetic button confirm and alert, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 13/65: Manuel and reduce size logo, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 14/65: bug in redirect, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 10/65: Esthetic + upgrade db, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 16/65: order by receipt number in dashboard, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 11/65: Esthetic, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 17/65: When creating a new event from dashboard then the event date is the remind date, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 18/65: Update the template for the config file, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 19/65: remove margin in tabs_, Dany De Bontridder, 2015/09/09