Check in resources/public first before public path.

Signed-off-by: crynobone <crynobone@gmail.com>