Update Framework.php

Prrevent Direct access