com web/php: First step in replacing the auth system... - kill MAGIC_COOKIE - update docweb to use the mast er api - update master to use a local
sess ion - set a IS_DEV cookie, to enable use r note editing from phpweb - disabled full n ame retrieval from docweb: include/shared-manual.in c
| From: | Paul Dragoonis | Date: | Wed, 23 Mar 2011 11:59:10 +0000 |
| Subject: | com web/php: First step in replacing the auth system... - kill MAGIC_COOKIE - update docweb to use the mast er api - update master to use a local sess ion - set a IS_DEV cookie, to enable use r note editing from phpweb - disabled full n ame retrieval from docweb: include/shared-manual.in c |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23579@lists.php.net to get a copy of this message | ||
Commit: 785562612b6be048b06d157a29e3943ed1dfdcb6
Author: Hannes Magnusson <bjori@php.net> Wed, 23 Mar 2011 11:59:10 +0000
Parents: df1ffb73756d42f23b4597189ef42b1ec9406b11
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=785562612b6be048b06d157a29e3943ed1dfdcb6
Log:
First step in replacing the auth system...
- kill MAGIC_COOKIE
- update docweb to use the master api
- update master to use a local session
- set a IS_DEV cookie, to enable user note editing from phpweb
- disabled full name retrieval from docweb
Changed paths:
M include/shared-manual.inc
Diff:
diff --git a/include/shared-manual.inc b/include/shared-manual.inc
index 0a67b8c...f84766e 100644
--- a/include/shared-manual.inc
+++ b/include/shared-manual.inc
@@ -455,7 +455,7 @@ function manual_note_display($date, $name, $text, $id)
$text = clean_note($text);
// If the viewer is logged in, show admin options
- if (isset($_COOKIE['MAGIC_COOKIE']) && $id) {
+ if (isset($_COOKIE['IS_DEV']) && $id) {
$admin = "\n <span class=\"admin\">\n " .