Show
Ignore:
Timestamp:
12/04/05 23:52:55 (6 years ago)
Author:
john
Message:

fixed include pathes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_controller.php

    r62 r67  
    297297        if(!$this->keep_flash) { 
    298298            # Nuke the flash array 
     299            Session:: 
    299300            unset($_SESSION['flash']); 
    300301        } 
     
    415416        header("HTTP/1.0 {$error_code} {$error_heading}");         
    416417        # check for user's layout for errors 
    417         if(DEBUG && file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['layouts']."/trax_error.phtml")) { 
    418             include(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['layouts']."/trax_error.phtml"); 
    419         } elseif(DEBUG && file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/templates/error.phtml")) { 
     418        if(DEBUG && file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['layouts']."/error.phtml")) { 
     419            include(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['layouts']."/error.phtml"); 
     420        } elseif(DEBUG && file_exists(TRAX_LIB_ROOT."/templates/error.phtml")) { 
    420421            # use default layout for errors 
    421             include(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/templates/error.phtml"); 
     422            include(TRAX_LIB_ROOT."/templates/error.phtml"); 
    422423        } elseif(DEBUG) { 
    423424            echo "<font face=\"verdana, arial, helvetica, sans-serif\">\n";