Ignore:
Timestamp:
May 15, 2021, 8:07:27 PM (3 years ago)
Author:
roby
Message:

Ripristino compatibilità con php <= 5.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/index.php

    r347 r348  
    12131213         
    12141214}
    1215 
     1215$test=phpversion();
     1216if($test>=5.6) $phpver=1; else $phpver=0;
    12161217switch ($op){
    12171218
     
    12531254       
    12541255                case "affluenze_sez":
    1255                         include("affluenze.php");
     1256                        if($phpver)
     1257                                include("affluenze.php");
     1258                        else
     1259                                include("affluenzephp5.php");
    12561260                break;
    12571261                case "votanti":
    1258                         include("votanti.php");
     1262                        if($phpver)
     1263                                include("votanti.php");
     1264                        else
     1265                                include("votantiphp5.php");
    12591266                break;
    12601267                default:
Note: See TracChangeset for help on using the changeset viewer.