Ignore:
Timestamp:
01/18/12 16:10:57 (12 years ago)
Author:
cristiano
Message:

Ticket #2434 - Alteração da estrutura de diretórios da nova API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoCalendar/index.php

    r5341 r5399  
    11<?php 
    22         
    3 //        $phpgw_flags = Array( 
    4 //              'currentapp'    =>      'expressoCalendar', 
    5 //              'noheader'      =>      false, 
    6 //              'nonavbar'      =>      false, 
    7 //              'noappheader'   =>      false, 
    8 //              'noappfooter'   =>      false, 
    9 //              'nofooter'      =>      false 
    10 //      ); 
    11 // 
    12 //      $GLOBALS['phpgw_info']['flags'] = $phpgw_flags; 
    13 // 
    14 //      include('../header.inc.php'); 
    15 //      $GLOBALS['phpgw']->common->phpgw_exit(); 
     3        $GLOBALS['phpgw_info']['flags'] = Array(   'currentapp'    =>      'expressoCalendar', 
     4                                                   'noheader'      =>      false, 
     5                                                   'nonavbar'      =>      false, 
     6                                                   'noappheader'   =>      true, 
     7                                                   'noappfooter'   =>      true, 
     8                                                   'nofooter'      =>      true  ); 
     9                                                   
     10        require_once( dirname(__FILE__).'/../prototype/api/config.php' ); 
     11        Config::init(true); 
     12        $_SESSION['flags']['currentapp'] = 'expressoCalendar'; 
     13 
     14        define( 'MODULESURL' , '../prototype/modules/calendar' ); 
     15        define( 'PLUGINSURL' , '../prototype/plugins' ); 
    1616         
    17         header('location:../prototype/modules/calendar/index.php'); 
     17        include ROOTPATH.'/modules/calendar/templates/index.ejs'; 
     18     
     19         
     20         
    1821?> 
Note: See TracChangeset for help on using the changeset viewer.