1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

temporary path fix in standalone file

This commit is contained in:
marj
2009-11-07 11:07:34 +00:00
parent f8f575c445
commit fb0929b48f

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_files/utilities/resetcore.php,v $ | $Source: /cvs_backup/e107_0.8/e107_files/utilities/resetcore.php,v $
| $Revision: 1.3 $ | $Revision: 1.4 $
| $Date: 2009-11-07 02:28:59 $ | $Date: 2009-11-07 11:07:34 $
| $Author: e107coders $ | $Author: marj_nl_fr $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -32,6 +32,9 @@ people it shouldn't be used by.
define("ACTIVE", false); define("ACTIVE", false);
//FIXME build e_CACHE from e107_config.php - resetcore.php is a stand alone page
define('e_CACHE', '../cache/');
/* #################################################### */ /* #################################################### */
@@ -53,6 +56,7 @@ if($register_globals == true)
} }
require_once("../../e107_config.php"); require_once("../../e107_config.php");
//TODO build e_CACHE from e107_config.php - resetcore.php is a stand alone page
mysql_connect($mySQLserver, $mySQLuser, $mySQLpassword); mysql_connect($mySQLserver, $mySQLuser, $mySQLpassword);
mysql_select_db($mySQLdefaultdb); mysql_select_db($mySQLdefaultdb);
define("MAGIC_QUOTES_GPC", (ini_get('magic_quotes_gpc') ? TRUE : FALSE)); define("MAGIC_QUOTES_GPC", (ini_get('magic_quotes_gpc') ? TRUE : FALSE));
@@ -72,7 +76,7 @@ $eArrayStorage = new ArrayData();
</head> </head>
<body> <body>
<div class='mainbox'> <div class='mainbox'>
<a href="http://e107.org"><img src="../../e107_images/logo_template_large.png" alt="Logo" style="border: 0px; vertical-align: middle;" /></a> <span class='headertext'>e107 Reset Core Utility</span> <a href="http://e107.org"><img src="../../<?php echo($IMAGES_DIRECTORY); ?>logo_template_large.png" alt="Logo" style="border: 0px; vertical-align: middle;" /></a> <span class='headertext'>e107 Reset Core Utility</span>
<br /> <br />
<br /> <br />
<br /> <br />