php - Use global namespace in context on my namespace? -


i have 2 controllers

 /admin/usercontroller.php   /front/usercontroller.php 

i've marked them namespaces admin , front, problem can't reach other framework classes, have put on every class invoke new \myclass, there way access global classes, except usercontroller? in other words make usercontroller invisible each other possible?, using laravel-4

i've found it!

use \app\models use \basecontroller 

i've needed specify classes of framework use, problem gone, thanks!


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -