Here's the easy fix for working with linkinfo.txt
Posted: Wed Nov 30, 2005 1:22 pm
Alright, you may have noticed that if you open the linkinfo.txt with a text editor or download it to either make a back up or move to a new web host,
it wont work right with the admin page anymore.
that's because the end of each line has a return symbol (\r)
Here's my easy fix,
open index.php (the admin page)
find:
change to:
note that we are removing \r from the lines.
That's it!
this works for me, use at your own risk 
it wont work right with the admin page anymore.
that's because the end of each line has a return symbol (\r)
Here's my easy fix,
open index.php (the admin page)
find:
Code: Select all
if($settings['system'] == 2) {$settings['newline']="\r\n";}
elseif($settings['system'] == 3) {$settings['newline']="\r";}
else {$settings['newline']="\n";}
Code: Select all
if($settings['system'] == 2) {$settings['newline']="\n";}
elseif($settings['system'] == 3) {$settings['newline']="\n";}
else {$settings['newline']="\n";}
That's it!


