projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2471df
)
issue84, only start PHP session, if not yet started
author
Andreas Unterkircher
<unki@netshadow.at>
Sun, 30 Dec 2007 14:47:17 +0000
(15:47 +0100)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sun, 30 Dec 2007 14:47:17 +0000
(15:47 +0100)
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index ba3668759757b1bbf2c86be97c34e2b8e0abe984..23f0c5462c466621614c15e1e989df6deff8e46c 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-92,7
+92,9
@@
class PHPFSPOT {
/* check if all necessary indices exist */
$this->checkDbIndices();
- session_start();
+ /* if session is not yet started, do it now */
+ if(session_id() == "")
+ session_start();
if(!isset($_SESSION['tag_condition']))
$_SESSION['tag_condition'] = 'or';