taskeXtensible PHP Markup Library - Tasks: task #5591, Replace all include_once with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #5591: Replace all include_once with require_once & update with dirname(__FILE__)

Submitter:  Caleb Case <calebcase>
Submitted:  Wed 24 May 2006 10:08:52 AM UTC
   
 
Should Start On:  Wed 24 May 2006 07:00:00 AM UTC Should be Finished on:  Wed 24 May 2006 07:00:00 AM UTC
Category:  Code Maintenance Priority:  2
Status:  None Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Open Effort:  0.00

Wed 24 May 2006 10:08:52 AM UTC, original submission:  

Should use require_once instead of include in most cases.

dirname(_FILE_) fixes a problem with cascading requires/includes.

require_once(dirname(_FILE_) . "/../my/relative/path");


Caleb Case <calebcase>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code