1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 05:07:27 +02:00

path corrections

This commit is contained in:
CaMer0n
2009-11-17 07:40:51 +00:00
parent d1782cd2b2
commit 0243decd2b
3 changed files with 17 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
+ ----------------------------------------------------------------------------+ + ----------------------------------------------------------------------------+
| e107 website system | e107 website system
| |
| <20>Steve Dun.an 2001-2002 | <20>Steve Dun.an 2001-2002
| http://e107.org | http://e107.org
| jali.@e107.org | jali.@e107.org
| |
@@ -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_plugins/calendar_menu/subs_menu.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/subs_menu.php,v $
| $Revision: 1.5 $ | $Revision: 1.6 $
| $Date: 2009-08-15 11:55:30 $ | $Date: 2009-11-17 07:40:43 $
| $Author: marj_nl_fr $ | $Author: e107coders $
| |
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -83,7 +83,7 @@ function subs_log_a_line($log_text,$close_after = FALSE, $log_always = FALSE)
if ($ec_run_from_menu && ($log_always == FALSE)) return; if ($ec_run_from_menu && ($log_always == FALSE)) return;
// echo "Logging: ".$log_text."<br />"; // echo "Logging: ".$log_text."<br />";
static $handle = NULL; static $handle = NULL;
$log_filename = e_FILE."logs/calendar_mail.txt"; $log_filename = e_MEDIA."logs/calendar_mail.txt";
if ($handle == NULL) if ($handle == NULL)
{ {
if (!($handle = fopen($log_filename, "a"))) if (!($handle = fopen($log_filename, "a")))

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_themes/templates/footer_default.php,v $ | $Source: /cvs_backup/e107_0.8/e107_themes/templates/footer_default.php,v $
| $Revision: 1.18 $ | $Revision: 1.19 $
| $Date: 2009-10-01 15:05:40 $ | $Date: 2009-11-17 07:40:51 $
| $Author: secretr $ | $Author: e107coders $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
if (!defined('e107_INIT')) if (!defined('e107_INIT'))
@@ -127,7 +127,7 @@ if (varset($e107_popup) != 1)
if ($pref['log_page_accesses']) if ($pref['log_page_accesses'])
{ // Need to log the page info to a text file as CSV data { // Need to log the page info to a text file as CSV data
$logname = e_FILE."logs/logd_".date("z.Y", time()).".csv"; $logname = e_MEDIA."logs/logd_".date("z.Y", time()).".csv";
$logfp = fopen($logname, 'a+'); $logfp = fopen($logname, 'a+');
fwrite($logfp, $logLine."\n"); fwrite($logfp, $logLine."\n");
fclose($logfp); fclose($logfp);

View File

@@ -9,8 +9,8 @@
* Installation file * Installation file
* *
* $Source: /cvs_backup/e107_0.8/install_.php,v $ * $Source: /cvs_backup/e107_0.8/install_.php,v $
* $Revision: 1.48 $ * $Revision: 1.49 $
* $Date: 2009-11-05 09:15:12 $ * $Date: 2009-11-17 07:40:43 $
* $Author: e107coders $ * $Author: e107coders $
* *
*/ */
@@ -28,14 +28,15 @@ $MySQLPrefix = 'e107_';
$ADMIN_DIRECTORY = "e107_admin/"; $ADMIN_DIRECTORY = "e107_admin/";
$FILES_DIRECTORY = "e107_files/"; $FILES_DIRECTORY = "e107_files/";
$IMAGES_DIRECTORY = "e107_images/"; $IMAGES_DIRECTORY = "e107_images/";
$MEDIA_DIRECTORY = "e107_media/";
$THEMES_DIRECTORY = "e107_themes/"; $THEMES_DIRECTORY = "e107_themes/";
$PLUGINS_DIRECTORY = "e107_plugins/"; $PLUGINS_DIRECTORY = "e107_plugins/";
$HANDLERS_DIRECTORY = "e107_handlers/"; $HANDLERS_DIRECTORY = "e107_handlers/";
$LANGUAGES_DIRECTORY = "e107_languages/"; $LANGUAGES_DIRECTORY = "e107_languages/";
$HELP_DIRECTORY = "e107_docs/help/"; $HELP_DIRECTORY = "e107_docs/help/";
$CACHE_DIRECTORY = "e107_files/cache/"; $CACHE_DIRECTORY = "e107_media/cache/";
$DOWNLOADS_DIRECTORY = "e107_files/downloads/"; $DOWNLOADS_DIRECTORY = "e107_media/downloads/";
$UPLOADS_DIRECTORY = "e107_files/public/"; $UPLOADS_DIRECTORY = "e107_media/public/";
/* End configurable variables */ /* End configurable variables */
@@ -140,7 +141,7 @@ function check_class($whatever)
} }
$e107_paths = compact('ADMIN_DIRECTORY', 'FILES_DIRECTORY', 'IMAGES_DIRECTORY', 'THEMES_DIRECTORY', 'PLUGINS_DIRECTORY', 'HANDLERS_DIRECTORY', 'LANGUAGES_DIRECTORY', 'HELP_DIRECTORY', 'CACHE_DIRECTORY', 'DOWNLOADS_DIRECTORY', 'UPLOADS_DIRECTORY'); $e107_paths = compact('ADMIN_DIRECTORY', 'FILES_DIRECTORY', 'IMAGES_DIRECTORY', 'THEMES_DIRECTORY', 'PLUGINS_DIRECTORY', 'HANDLERS_DIRECTORY', 'LANGUAGES_DIRECTORY', 'HELP_DIRECTORY', 'CACHE_DIRECTORY', 'DOWNLOADS_DIRECTORY', 'UPLOADS_DIRECTORY', 'MEDIA_DIRECTORY');
$e107 = e107::getInstance(); $e107 = e107::getInstance();
$e107->init($e107_paths, realpath(dirname(__FILE__))); $e107->init($e107_paths, realpath(dirname(__FILE__)));
@@ -904,6 +905,7 @@ class e_install
\$CACHE_DIRECTORY = '{$this->e107->e107_dirs['CACHE_DIRECTORY']}'; \$CACHE_DIRECTORY = '{$this->e107->e107_dirs['CACHE_DIRECTORY']}';
\$DOWNLOADS_DIRECTORY = '{$this->e107->e107_dirs['DOWNLOADS_DIRECTORY']}'; \$DOWNLOADS_DIRECTORY = '{$this->e107->e107_dirs['DOWNLOADS_DIRECTORY']}';
\$UPLOADS_DIRECTORY = '{$this->e107->e107_dirs['UPLOADS_DIRECTORY']}'; \$UPLOADS_DIRECTORY = '{$this->e107->e107_dirs['UPLOADS_DIRECTORY']}';
\$MEDIA_DIRECTORY = '{$this->e107->e107_dirs['MEDIA_DIRECTORY']}';
"; ";