Changeset ea373f6 in github


Ignore:
Timestamp:
Sep 19, 2008 3:41:04 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
f00c35f
Parents:
80c6786
Message:
  • support 'cookie' type in conditions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_template.php

    rd4273b8 rea373f6  
    474474                '/config:([a-z0-9_]+)(:([a-z0-9_]+))?/i', 
    475475                '/env:([a-z0-9_]+)/i', 
    476                 '/request:([a-z0-9_]+)/ie' 
     476                '/request:([a-z0-9_]+)/ie', 
     477                '/cookie:([a-z0-9_]+)/ie' 
    477478            ), 
    478479            array( 
     
    480481                "\$this->app->config->get('\\1',get_boolean('\\3'))", 
    481482                "\$this->env['\\1']", 
    482                 "get_input_value('\\1', RCUBE_INPUT_GPC)" 
     483                "get_input_value('\\1', RCUBE_INPUT_GPC)", 
     484                "\$_COOKIE['\\1']" 
    483485            ), 
    484486            $condition); 
Note: See TracChangeset for help on using the changeset viewer.