Changeset:
6a0a2f7ed7d9
https://sourceforge.net/p/mrbs/hg-code/ci/6a0a2f7ed7d91281584558e19dba714378083a4b
Author:
Campbell Morrison <[email protected]>
Date:
Fri Oct 02 09:27:20 2015 +0100
Log message:
Took advantage of __DIR__ magic constant introduced in PHP 5.3.0
diffstat:
web/Crypt/Blowfish.php | 2 +-
web/session/session_cookie.inc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 9826c34b02e0 -r 6a0a2f7ed7d9 web/Crypt/Blowfish.php
--- a/web/Crypt/Blowfish.php Fri Oct 02 09:22:18 2015 +0100
+++ b/web/Crypt/Blowfish.php Fri Oct 02 09:27:20 2015 +0100
@@ -22,7 +22,7 @@
* Required PEAR package(s)
*/
-require_once dirname(__FILE__) . '/../PEAR.php';
+require_once __DIR__ . '/../PEAR.php';
/**
* Engine choice constants
diff -r 9826c34b02e0 -r 6a0a2f7ed7d9 web/session/session_cookie.inc
--- a/web/session/session_cookie.inc Fri Oct 02 09:22:18 2015 +0100
+++ b/web/session/session_cookie.inc Fri Oct 02 09:27:20 2015 +0100
@@ -21,7 +21,7 @@
// $Id$
// Bring in Blowfish class
-require_once dirname(__FILE__) . '/../Crypt/Blowfish.php';
+require_once __DIR__ . '/../Crypt/Blowfish.php';
$blowfish = new Crypt_Blowfish($auth['session_cookie']['secret']);
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits