Še malo čiščenja...
This commit is contained in:
parent
51eb4db0cc
commit
9acba2b071
@ -12,7 +12,7 @@
|
|||||||
use PhpOffice\PhpPresentation\PhpPresentation;
|
use PhpOffice\PhpPresentation\PhpPresentation;
|
||||||
use PhpOffice\PhpPresentation\IOFactory;
|
use PhpOffice\PhpPresentation\IOFactory;
|
||||||
use PhpOffice\PhpPresentation\Style\Color;
|
use PhpOffice\PhpPresentation\Style\Color;
|
||||||
use PhpOffice\PhpPresentation\Style\Alignment;
|
use PhpOffice\PhpPresentation\Style\Alignment;
|
||||||
|
|
||||||
define("ALLOW_HIDE_ZERRO_REGULAR", false); // omogočimo delovanje prikazovanja/skrivanja ničelnih vnosti za navadne odgovore
|
define("ALLOW_HIDE_ZERRO_REGULAR", false); // omogočimo delovanje prikazovanja/skrivanja ničelnih vnosti za navadne odgovore
|
||||||
define("ALLOW_HIDE_ZERRO_MISSING", true); // omogočimo delovanje prikazovanja/skrivanja ničelnih vnosti za missinge
|
define("ALLOW_HIDE_ZERRO_MISSING", true); // omogočimo delovanje prikazovanja/skrivanja ničelnih vnosti za missinge
|
||||||
@ -85,6 +85,7 @@ class pptIzvozHeatmapImage {
|
|||||||
// preberemo nastavitve iz baze (prej v sessionu)
|
// preberemo nastavitve iz baze (prej v sessionu)
|
||||||
SurveyUserSession::Init($this->anketa);
|
SurveyUserSession::Init($this->anketa);
|
||||||
$this->sessionData = SurveyUserSession::getData('charts');
|
$this->sessionData = SurveyUserSession::getData('charts');
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -97,8 +98,8 @@ class pptIzvozHeatmapImage {
|
|||||||
$this->skin = SurveyUserSetting :: getInstance()->getSettings('default_chart_profile_skin');
|
$this->skin = SurveyUserSetting :: getInstance()->getSettings('default_chart_profile_skin');
|
||||||
$this->numbering = SurveyDataSettingProfiles :: getSetting('chartNumbering');
|
$this->numbering = SurveyDataSettingProfiles :: getSetting('chartNumbering');
|
||||||
$this->frontpage = SurveyDataSettingProfiles :: getSetting('chartFP');
|
$this->frontpage = SurveyDataSettingProfiles :: getSetting('chartFP');
|
||||||
}
|
|
||||||
else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -284,7 +284,7 @@ class SurveyLanguageTechnology {
|
|||||||
curl_setopt($curl, CURLOPT_FAILONERROR, TRUE);
|
curl_setopt($curl, CURLOPT_FAILONERROR, TRUE);
|
||||||
// Removes the headers from the output
|
// Removes the headers from the output
|
||||||
curl_setopt($curl, CURLOPT_HEADER, 0);
|
curl_setopt($curl, CURLOPT_HEADER, 0);
|
||||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
|
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, TRUE);
|
||||||
// Return the output instead of displaying it directly
|
// Return the output instead of displaying it directly
|
||||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
||||||
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5);
|
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5);
|
||||||
|
@ -75,8 +75,8 @@ class SqualoApi {
|
|||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
|
|
||||||
// for debug only!
|
// for debug only!
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, TRUE);
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);
|
||||||
|
|
||||||
$headers = array(
|
$headers = array(
|
||||||
"Content-Type: application/json",
|
"Content-Type: application/json",
|
||||||
|
@ -119,7 +119,7 @@ function executePOST(){
|
|||||||
|
|
||||||
curl_setopt($ch, CURLOPT_HEADER ,1);
|
curl_setopt($ch, CURLOPT_HEADER ,1);
|
||||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
|
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
|
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
|
||||||
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
|
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
|
||||||
/*$cookie_file = 'cookie.txt';
|
/*$cookie_file = 'cookie.txt';
|
||||||
curl_setopt ($ch, CURLOPT_COOKIEFILE, $cookie_file);
|
curl_setopt ($ch, CURLOPT_COOKIEFILE, $cookie_file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user