I got directory array below.
I will make a file search in this array. For example path.php , survey.php... If file is found , how should a construct the path.
for path.php
I want function to return '/survey/config/path.php'
Array
(
[survey] => Array
(
[config] => Array
(
[0] => path.php
[1] => routes.php
)
[controllers] => Array
(
[0] => admin.php
[1] => giris.php
)
[models] => Array
(
[0] => giris.php
)
[views] => Array
(
[0] => admin_form.php
[1] => widget.php
[2] => yeni_form.php
)
[widgets] => Array
(
[0] => survey.php
)
)
)