Fix php pragmas example include path
Was not working for out of source builds
This commit is contained in:
parent
f06330e720
commit
3ccc904b06
3 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
# For finding include.php
|
||||
set_include_path(realpath(dirname(__FILE__)) . PATH_SEPARATOR . get_include_path());
|
||||
|
||||
require "example.php";
|
||||
|
||||
echo "Version - " . ((new ReflectionExtension('example'))->getVersion());
|
||||
echo "Version - " . ((new ReflectionExtension('example'))->getVersion()) . "\n";
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue