com web/master: Fix include_path: manage/event.php
| From: | Hannes Magnusson | Date: | Thu, 12 Dec 2013 22:38:58 +0000 |
| Subject: | com web/master: Fix include_path: manage/event.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17572@lists.php.net to get a copy of this message | ||
Commit: a3862bdd5a8b9b432fddde3fc0ce2d70f44ad592
Author: Hannes Magnusson <bjori@mongodb.com> Thu, 12 Dec 2013 14:38:58 -0800
Parents: 14407c3afa171684c6b1792ea28553e4ec5da551
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=a3862bdd5a8b9b432fddde3fc0ce2d70f44ad592
Log:
Fix include_path
Changed paths:
M manage/event.php
Diff:
diff --git a/manage/event.php b/manage/event.php
index 8cf8e58..6639a11 100644
--- a/manage/event.php
+++ b/manage/event.php
@@ -1,6 +1,6 @@
<?php
-require 'login.inc';
-require 'email-validation.inc';
+require __DIR__ . '/../include/login.inc';
+require __DIR__ . '/../include/email-validation.inc';
define('PHP_SELF', hsc($_SERVER['PHP_SELF']));