Ignore:
Timestamp:
Sep 24, 2022, 1:11:18 PM (20 months ago)
Author:
roby
Message:

Admin:

  • modificata la funzione aggiornadb per gestire il caso di cambiamento del nome del superutente e tolto il default per tipi campo text
  • modificata la funzione dei controlli per gestire il tipo consultazione Regionali in Sicilia

Install:

  • modificata la funzione di installazione per compatibilità con php 8.0

Client:

  • cambiata l'immagine "vuoto.jpg" nel formato png per gestire la trasparenza
  • modificate le funzioni affluenze e votanti per correggere l'esportazione in pdf e le stampe
  • per il tema Futura2 eliminato il taglio della descrizione della consultazione
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/install3.php

    r253 r376  
    3838$configArray['siteUrl'] = trim( mosGetParam( $_POST, 'siteUrl', '' ) );
    3939$configArray['absolutePath'] = trim( mosGetParam( $_POST, 'absolutePath', '' ) );
    40 if (get_magic_quotes_gpc()) {
    41         $configArray['absolutePath'] = stripslashes(stripslashes($configArray['absolutePath']));
    42         $sitename = stripslashes(stripslashes($sitename));
    43 }
     40#if (get_magic_quotes_gpc()) {
     41#       $configArray['absolutePath'] = stripslashes(stripslashes($configArray['absolutePath']));
     42#       $sitename = stripslashes(stripslashes($sitename));
     43#}
    4444
    4545
     
    185185                $url = $configArray['siteUrl'];
    186186        else {
    187                 $port = ( $_SERVER['SERVER_PORT'] == 80 ) ? '' : ":".$_SERVER['SERVER_PORT'];
    188                 $root = $_SERVER['SERVER_NAME'].$port.$_SERVER['PHP_SELF'];
     187#               $port = ( $_SERVER['SERVER_PORT'] == 80 ) ? '' : ":".$_SERVER['SERVER_PORT'];
     188                $port = ( $_SERVER['SERVER_PORT'] == 80 ) ? 'http://' : "https://";
     189#               $root = $_SERVER['SERVER_NAME'].$port.$_SERVER['PHP_SELF'];
     190                $root = $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF'];
    189191                $root = str_replace("install/","",$root);
    190192                $root = str_replace("/install3.php","",$root);
    191                 $url = "http://".$root."/client";
     193#               $url = "http://".$root."/client";
     194                $url = $port.$root."/client";
    192195        }
    193196?>
Note: See TracChangeset for help on using the changeset viewer.