Ignore:
Timestamp:
12/19/12 16:44:18 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Best Practice: Short Open Tag e Best Practice: Always Quote Array Keys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/engine/config.egw.inc.php

    r3167 r7681  
    4949// check if basedir exists 
    5050$test=$GLOBALS['phpgw']->vfs->get_real_info(array('string' => '/', 'relatives' => array(RELATIVE_NONE), 'relative' => False)); 
    51 if($test[mime_type]!='Directory') 
     51if($test['mime_type']!='Directory') 
    5252{ 
    5353        galaxia_show_error(lang('Base directory does not exist, please ask adminstrator to check the global configuration'),false, true); 
     
    5656// check if /workflow  exists 
    5757$test = @$GLOBALS['phpgw']->vfs->get_real_info(array('string' => '/workflow', 'relatives' => array(RELATIVE_NONE), 'relative' => False)); 
    58 if($test[mime_type]!='Directory') 
     58if($test['mime_type']!='Directory') 
    5959{ 
    6060        // if not, create it 
     
    6868        // test one more time 
    6969        $test = $GLOBALS['phpgw']->vfs->get_real_info(array('string' => '/workflow', 'relatives' => array(RELATIVE_NONE), 'relative' => False)); 
    70         if($test[mime_type]!='Directory') 
     70        if($test['mime_type']!='Directory') 
    7171        { 
    7272                galaxia_show_error(lang('/workflow directory does not exist and could not be created, please ask adminstrator to check the global configuration'), false, true); 
Note: See TracChangeset for help on using the changeset viewer.