PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Submissions

Reply
 
Thread Tools
Old 01-27-2005, 03:59 AM   #1
blueyed
Green Mole
 
Join Date: Sep 2004
Posts: 19
mod: small improvements for 1.8.7

Display URL with "not found" messages:
replace line 531 in spider.php, which is:
PHP Code:
print $s_no.phpdigMsg('error').' 404'.$br
into
PHP Code:
print $s_no.phpdigMsg('error').' 404 ('.str_replace('@url',$url_indexing,$s_link).')'.$br
Fix.. in line 113 of libs/function_phpdig_form.php I've changed
PHP Code:
$relative_script_path '.'
to
PHP Code:
global $relative_script_path
because otherwise I'll get "Unable to find connect.php file for dropdown menu."


Change request: use a constant/variable for:
  • temp directory (line 464 of admin/spider.php), because this has to be writeable and "/tmp" is probably more appropriate in most cases
  • URI to the phpdig directory. This would be useful for lines 671 & 708 in libs/search_function.php (lines 738 & 775 in search_function.php that I'll post later).
blueyed is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looks Like A Small Bug In 1.8.1 vinyl-junkie Troubleshooting 6 07-07-2004 09:04 PM
keywords.key_id is too small bsw114 Bug Tracker 0 03-04-2004 06:16 PM
Language small bug TiM Bug Tracker 0 03-04-2004 01:17 PM
Small bug in phpdigRewriteUrl() Goth Bug Tracker 0 02-10-2004 04:03 PM
Small Highlight Patch Charter Mod Submissions 0 11-26-2003 07:28 PM


All times are GMT -8. The time now is 06:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.