public_path() laravel not working

laravel, laravel-4

Solution

The OP solved his problem by himself. I'm only posting this answer so it's more visible and the question doesn't show up under "unanswered"

The configuration value for the public path may needs to be adjusted.

bootstrap/paths.php

'public' => __DIR__.'/../public'

Problem

`public_path()` isn't working for me (local environment works, production returns empty string). All other `path` functions are working correctly (app, base and storage). I searched on google but not find a solution. Can somebody help me?

Original source