Changeset 29630


Ignore:
Timestamp:
09/18/14 16:45:30 (5 years ago)
Author:
mistic100
Message:

auto redirect to config page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Google2Piwigo/admin/import.php

    r28832 r29630  
    99if (empty($conf['google2piwigo']['api_key']) or empty($conf['google2piwigo']['secret_key'])) 
    1010{ 
    11   $page['warnings'][] = l10n('Please fill your API keys on the configuration tab'); 
    12   $_GET['action'] = 'error'; 
     11  $_SESSION['page_warnings'][] = l10n('Please fill your API keys on the configuration tab'); 
     12  redirect(PICASA_WA_ADMIN . '-config'); 
    1313} 
    1414else if (!test_remote_download()) 
Note: See TracChangeset for help on using the changeset viewer.