Ticket #232 (closed feature: invalid)

Opened 6 years ago

Last modified 5 years ago

__FILE__ is not defined in PIPP

Reported by: H4ck3rm1k3 Owned by:
Priority: trivial Milestone:
Component: language Version: trunk
Severity: low Keywords: pipp
Cc: Language: php
Patch status: Platform: linux

Description (last modified by cotto) (diff)

(08:45:08) Phurl: quite simple : define('JPATH_BASE', dirname(__FILE__) ); where __FILE__ is not defined.

Note: (08:46:31) cotto: Annotations (i.e. filename and line #) were only recently added to Parrot. It'll be a little while before they filter to the HLLs like Pipp.

<?php
define('JPATH_BASE', dirname(__FILE__) );

Change History

Changed 6 years ago by H4ck3rm1k3

(08:57:05) cotto: actually now that I think about it, I think they also need to be integrated into PCT before the PCT-based HLLs can use them

Changed 6 years ago by cotto

  • description modified (diff)

Changed 5 years ago by coke

  • status changed from new to closed
  • resolution set to invalid

This ticket should be moved to PIPP's tracking system; if more work is needed from PCT, a new ticket should be opened for that.

Note: See TracTickets for help on using tickets.