summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-02-20 00:26:28 +0100
committerINOPIAE <inopiae@cacert.org>2013-02-20 00:26:28 +0100
commit4c45bdd5901b61e8ed52e10441106e5b4e0b6c9e (patch)
treebbe1b055cf00ac76510b18cd4a86e613fda798d8
parent2a7c22f64a56e6f8ff3af2ee74d44c8c1f25a7ad (diff)
downloadcacert-devel-4c45bdd5901b61e8ed52e10441106e5b4e0b6c9e.tar.gz
cacert-devel-4c45bdd5901b61e8ed52e10441106e5b4e0b6c9e.tar.xz
cacert-devel-4c45bdd5901b61e8ed52e10441106e5b4e0b6c9e.zip
bug 1008: changed include to require and path
-rw-r--r--pages/account/58.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/account/58.php b/pages/account/58.php
index be229d7..86e0fc1 100644
--- a/pages/account/58.php
+++ b/pages/account/58.php
@@ -14,9 +14,9 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-*/ ?>
-<?
-include_once($_SESSION['_config']['filepath'].'/includes/notary.inc.php');
+*/
+
+ require_once(dirname(__FILE__).'/../../includes/notary.inc.php');
if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST) || intval($_REQUEST['userid']) < 1) {
echo _('You do not have access to this page');