When I try
realpath('./')
I get "D:\Projects\Tickle\public"
But when I try
realpath('./models'); // or './models/'
I get "" or null. why is that? The strange thing is that when I try
realpath('../application/models');
I get "D:\Projects\Tickle\application\models" which is right
UPDATE
My directory structure looks like below (I am using Zend Framework)
/application
/models
/controllers
/views
/configs
bootstrap.php <-- this is where I am