Changeset 13489 for trunk/action.php


Ignore:
Timestamp:
Mar 6, 2012, 9:43:18 PM (12 years ago)
Author:
rvelices
Message:

added event for src image url
simplify js in picture.tpl
action.php fix history saving

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/action.php

    r12922 r13489  
    2323
    2424define('PHPWG_ROOT_PATH','./');
     25session_cache_limiter('public');
    2526include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
    2627
     
    7172;';
    7273
    73 $result = pwg_query($query);
    74 $element_info = pwg_db_fetch_assoc($result);
     74$element_info = pwg_db_fetch_assoc(pwg_query($query));
    7575if ( empty($element_info) )
    7676{
     
    106106    if ( $user['enabled_high']!='true' )
    107107    {
    108       do_error(401, 'Access denied h');
     108      do_error(401, 'Access denied e');
    109109    }
    110110    $file = get_element_path($element_info);
     
    120120}
    121121
    122 if ($_GET['part'] == 'h') {
     122if ($_GET['part'] == 'e') {
    123123  pwg_log($_GET['id'], 'high');
    124124}
Note: See TracChangeset for help on using the changeset viewer.