 |
|
|
|

| Autor |
Nachricht |
baz-x
phpBB2.de User

Anmeldungsdatum: 09.04.2003
Beiträge: 663
|
Verfasst am:
Di 26 Okt, 2004 23:07 |
  |
Since a lot of user are asking the (same) question i decided to ask oc5id to post his fix, so here we go:
OPEN: includes/functions_jr_admin.php
FIND:
| PHP: |
<?php //Read all the modules
$setmodules = 1;
$dir = @opendir($phpbb_root_path.JR_ADMIN_DIR);
$pattern = "/^admin_.+\.$phpEx$/";
while (($file = @readdir($dir)) !== false)
{
if (preg_match($pattern, $file))
{
include($phpbb_root_path.JR_ADMIN_DIR.$file);
}
}
|
IN LINE FIND:
| PHP: |
<?php include($phpbb_root_path.JR_ADMIN_DIR.$file);
|
REPLACE WITH:
| PHP: |
<?php include_once($phpbb_root_path.JR_ADMIN_DIR.$file);
|
FIND:
| PHP: |
<?php jr_admin_include_all_lang_files();
|
REPLACE WITH:
| PHP: |
<?php // jr_admin_include_all_lang_files();
|
OPEN: /admin/admin_jr_admin.php
FIND:
AFTER ADD:
| PHP: |
<?php if (defined('FUNCTIONS_JR_ADMIN_PHP'))
{
return;
}
define ('FUNCTIONS_JR_ADMIN_PHP', true);
|
Thanks to oc5id for his fix. |
_________________ Currently working on: Nickpage Mod 1.14 ME |
|
   |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
|
|
|
|
|
Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
| |