Code: Select all
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_styles.php
#
#-----[ FIND ]---------------------------------------------
# Line 78
include($phpbb_root_path. "templates/" . $install_to . "/theme_info.cfg");
#
#-----[ REPLACE WITH ]---------------------------------------------
#
include($phpbb_root_path. "templates/" . basename($install_to) . "/theme_info.cfg");
#
#-----[ FIND ]---------------------------------------------
# Line 742
$fp = @fopen($phpbb_root_path . 'templates/' . $template_name . '/theme_info.cfg', 'w');
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$fp = @fopen($phpbb_root_path . 'templates/' . basename($template_name) . '/theme_info.cfg', 'w');
onigumo wrote: For a reason by which I believe is not important to reveal in this case, I removed the file which requires the following code changes:
So that means I don't have to worry about it, right? And what does that code do for it anyway?Code: Select all
# #-----[ OPEN ]--------------------------------------------- # admin/admin_styles.php # #-----[ FIND ]--------------------------------------------- # Line 78 include($phpbb_root_path. "templates/" . $install_to . "/theme_info.cfg"); # #-----[ REPLACE WITH ]--------------------------------------------- # include($phpbb_root_path. "templates/" . basename($install_to) . "/theme_info.cfg"); # #-----[ FIND ]--------------------------------------------- # Line 742 $fp = @fopen($phpbb_root_path . 'templates/' . $template_name . '/theme_info.cfg', 'w'); # #-----[ REPLACE WITH ]--------------------------------------------- # $fp = @fopen($phpbb_root_path . 'templates/' . basename($template_name) . '/theme_info.cfg', 'w');
AlfaR wrote:wickedintense wrote:my board is heavily modded and i just wanted to say thanks for posting the code changes. I really appreciate it, makes it all much easier
I'll second that, I run a couple of heavily modded phpbb boards and would be royally stuck without the quick release of these files
stormin4 wrote:AlfaR wrote:wickedintense wrote:my board is heavily modded and i just wanted to say thanks for posting the code changes. I really appreciate it, makes it all much easier
I'll second that, I run a couple of heavily modded phpbb boards and would be royally stuck without the quick release of these files
I'll "third" that as I also have a heavily modded board.
Thanks Acyd Burn for always being on top of your game!!
troll565 wrote: any idea about this error after going from 2.0.13 to 2.0.14?
Parse error: parse error, unexpected '}' in /home/starch3/public_html/forum/viewtopic.php on line 1229
Code: Select all
}
} (like after this one, instead of the last one)
}