Changeset 1734
- Timestamp:
- 12/02/09 14:05:58 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/login.php
r1681 r1734 3 3 if(isset($_COOKIE['contador'])) { 4 4 $valor_cookie = $_COOKIE['contador']; 5 if( $_POST['user'] && $_POST['passwd'])5 if( isset( $_POST['user'] ) && isset( $_POST['passwd'] ) ) 6 6 { 7 7 $valor_cookie = $valor_cookie + 1; … … 20 20 } 21 21 // logout, inicia contador novamente..... 22 if( $_GET['cd']=='1' || $_COOKIE['sessionid'] || $_GET['cd'] == 10)22 if( ( isset( $_GET[ 'cd' ] ) && ( $_GET['cd']=='1' || $_GET['cd'] == 10 ) ) || ( isset( $_COOKIE['sessionid'] ) ) ) 23 23 { 24 24 $valor_cookie = 1; -
trunk/phpgwapi/templates/default/login_default.php
r1713 r1734 309 309 } 310 310 311 if ($extra_vars)311 if ( is_string( $extra_vars ) ) 312 312 { 313 313 $extra_vars = '?' . substr($extra_vars,1);
Note: See TracChangeset
for help on using the changeset viewer.