witam,
to moj kontroller index:
  1. <?php
  2. class App_Controller_Guest_Index extends Lib_Template_Page {
  3. function __construct(){
  4. $_SESSION['state']="";
  5. $this->owner= Lib_State_Owner::getOwner($_GET['value'],$_SESSION['state']);
  6.  
  7. if (empty($_GET['controller'])){ $_GET['controller'] = 'index';} else { $_GET['controller'];};
  8. if (empty($_GET['action'])){ $_GET['action'] = 'index';}
  9. echo $_GET['subpage'];
  10.  
  11. }
  12. public function indexAction(){
  13.  
  14. $content = Lib_Factory_Controller::getController($_GET['controller'],$_GET['action']);
  15.  
  16. //$action = Lib_Factory_Final::finalUrl($_GET['controller'],$_GET['action'],$this->langueState);
  17. $this->content = $content->run($_GET['action']);
  18. include_once('app/view/layout.phtml');
  19.  
  20. }
  21.  
  22. }
  23. ?>

to klasa która wywołuje linkiem np.index.php?controller=login&subpage=login:
  1. <?php
  2. class App_Controller_Guest_Login extends Lib_Template_Subpage{
  3.  
  4. public function indexAction(){
  5. $model= new App_Model_Guest_Login();
  6. echo $_GET['subpage'];
  7. if($_GET['subpage'] == 'login'){
  8. $login = $model->login($_POST['login'].$_POST['pass']);
  9. echo $_POST['login'];
  10. }elseif ($_GET['move']=='logout'){
  11. $logout = $model->logout();
  12. }
  13.  
  14. }
  15. }
  16.  
  17. ?>

Jaki może być powód tego ,że po wywołąniu kontrolera "login" wartość $_GET['subpage'] jest pusta.W klasie kontorolera "index" nie ma problemu?

pozdrawiam