ID: 49774
Updated by: [email protected]
Reported By: czarnowski at powercms dot org
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: Opensuse 11.1
PHP Version: 5.3.0
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2009-10-05 09:26:46] czarnowski at powercms dot org
Description:
------------
This is a part of an included php file:
<?php
echo '<p>'.INSIDE_POWER_SITE.'</p>';
if (!defined(INSIDE_POWER_SITE)) die('DIRECT ACCESS FORBIDDEN
(DEFINE)');
?>
INSIDE_POWERSITE was defined in the script before.
The output is:
/opt/lampp/htdocs/ps1.3/
DIRECT ACCESS FORBIDDEN (DEFINE)
/opt/lampp/htdocs/ps1.3/ is ok
But this not because INSIDE_POWER_SITE was defined, as i can look it
with the echo statement:
DIRECT ACCESS FORBIDDEN (DEFINE)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49774&edit=1