note 100806 deleted from language.constants.predefined by googleguy

From: Date: Tue, 22 Oct 2013 06:49:33 +0000
Subject: note 100806 deleted from language.constants.predefined by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196662@lists.php.net to get a copy of this message
Note Submitter: stefan at efectos dot nl ---- When __DIR__ is not defined, you can also use this workaround to generate it: <?php if(!defined('__DIR__')) { $iPos = strrpos(__FILE__, "/"); define("__DIR__", substr(__FILE__, 0, $iPos) . "/"); } ?> Keep in mind this sets __DIR__ to the directory you are running this snippet from.

« previous php.notes (#196662) next »