jaws-project / jaws

Jaws is a Web Application Framework and Content Management System for building dynamic web sites.
htt://jaws-project.com
39 stars 17 forks source link

Fatal error when data directory does not exist #18

Closed mkhahani closed 11 years ago

mkhahani commented 11 years ago
Fatal error: Call to undefined function _t() in include\Jaws\Registry.php on line 356

To reproduce just rename data directory. It seems the _t() function is unknown there.

afz commented 11 years ago

data directory is part of jaws, and jaws not work without it

mkhahani commented 11 years ago

okay but _t() method is invalid here.

afz commented 11 years ago

we must check isn't data directory exists, then showing fatal error instead

afz commented 11 years ago

Fixed