You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//here you can already use a php-includer object, it is already included
89
-
include $pi->path("conf/config.php"); //includes /var/www/myapp/conf/config.php
90
92
```
91
93
92
94
From the previous examples, `./pi.global.php` will be included in both `./index.php and``./login/index.php` files.
93
-
94
-
### Auto include, based on a directory
95
-
96
-
If there is a `pi.dir.php` file in a `directory`, it is automatically included, wherever you include/require `piLoader` in php files in that `directory`.
97
-
98
-
**example**: `./user/pi.dir.php`
99
-
```php
100
-
<?php
101
-
//here you can already use a php-includer object, it is already included
0 commit comments