 |
|
|
|

| Author |
Message |
baz-x
phpBB2.de User

Joined: 09 Apr 2003
Posts: 663
|
Posted:
Tue 26 Oct, 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
|
Posted:
|
 |
|
|
 |
|
|
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
| |