Ben gibi dört PHP dosyaları var diyelim:
www/global.php
<?php
function doAwesomeStuff() {}
www/child1.php
<?php
include ("global.php");
function Something1() {}
www/child2.php
<?php
include ("global.php");
function Something2() {}
www/subdirectory/grandchild.php
<?php
include ("../global.php");
include ("../child2.php");
function Something3() {}
Ben küresel kez bir davada dahil olmak üzere sorun haline çalıştırın, ama biz karmaşık almaya devam edersek, en mantıklı gerçek bir ağrı olduğu, dahil dosya denilen dosyaya göreceli dizin yolları değil çağırıyor içerir.
Bu herhangi bir çözüm?