mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Updating to Limesurvey 1.9.1+ revision 11132 (part one)
This commit is contained in:
@@ -31,6 +31,7 @@ define('OLE_LONG_INT_SIZE', 4);
|
||||
define('OLE_PPS_SIZE', 0x80);
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
require_once($homedir.'/classes/pear/PEAR.php');
|
||||
require_once $homedir.'/classes/pear/OLE/PPS.php';
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
// $Id: PPS.php,v 1.5 2003/12/14 18:12:28 xnoguer Exp $
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
require_once($homedir.'/classes/pear/PEAR.php');
|
||||
require_once($homedir.'/classes/pear/OLE/OLE.php');
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
// $Id: File.php,v 1.8 2003/12/12 21:10:10 xnoguer Exp $
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
require_once ($homedir.'/classes/pear/OLE/PPS.php');
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
// $Id: Root.php,v 1.7 2003/12/12 21:10:10 xnoguer Exp $
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
require_once ($homedir.'/classes/pear/OLE/PPS.php');
|
||||
|
||||
/**
|
||||
@@ -175,7 +176,7 @@ class OLE_PPS_Root extends OLE_PPS
|
||||
$iCnt = count($raList);
|
||||
$iBdCnt = $this->_BIG_BLOCK_SIZE / OLE_PPS_SIZE;
|
||||
$iPPScnt = (floor($iCnt/$iBdCnt) + (($iCnt % $iBdCnt)? 1: 0));
|
||||
|
||||
|
||||
return array($iSBDcnt, $iBBcnt, $iPPScnt);
|
||||
}
|
||||
|
||||
@@ -287,7 +288,7 @@ class OLE_PPS_Root extends OLE_PPS
|
||||
function _saveBigData($iStBlk, &$raList)
|
||||
{
|
||||
$FILE = $this->_FILEH_;
|
||||
|
||||
|
||||
// cycle through PPS's
|
||||
for ($i = 0; $i < count($raList); $i++)
|
||||
{
|
||||
@@ -346,7 +347,7 @@ class OLE_PPS_Root extends OLE_PPS
|
||||
$sRes = '';
|
||||
$FILE = $this->_FILEH_;
|
||||
$iSmBlk = 0;
|
||||
|
||||
|
||||
for ($i = 0; $i < count($raList); $i++)
|
||||
{
|
||||
// Make SBD, small data string
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*/
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
require_once $homedir.'/classes/pear/PEAR.php';
|
||||
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Workbook.php';
|
||||
@require_once $homedir.'/classes/pear/PEAR.php';
|
||||
@require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Workbook.php';
|
||||
|
||||
/**
|
||||
* Class for writing Excel Spreadsheets. This class should change COMPLETELY.
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
require_once $homedir.'/classes/pear/PEAR.php';
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
*/
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
|
||||
require_once $homedir.'/classes/pear/PEAR.php';
|
||||
|
||||
/**
|
||||
|
||||
@@ -94,7 +94,8 @@ define('SPREADSHEET_EXCEL_WRITER_NE', "<>");
|
||||
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
require_once $homedir.'/classes/pear/PEAR.php';
|
||||
if (!isset($homedir)) die();
|
||||
@require_once $homedir.'/classes/pear/PEAR.php';
|
||||
|
||||
/**
|
||||
* Class for parsing Excel formulas
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Format.php';
|
||||
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/BIFFwriter.php';
|
||||
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Worksheet.php';
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
|
||||
if (!isset($homedir)) die();
|
||||
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Parser.php';
|
||||
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/BIFFwriter.php';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file CAS/PGTStorage/pgt-db.php
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
*
|
||||
* @ingroup internalPGTStorageFile
|
||||
*/
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
class PGTStorageFile extends PGTStorage
|
||||
{
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file languages/spanish.php
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file languages/english.php
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file languages/english.php
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file languages/german.php
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file languages/greek.php
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file languages/japanese.php
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if (!defined('PHPCAS_VERSION')) die();
|
||||
|
||||
/**
|
||||
* @file languages/spanish.php
|
||||
|
||||
Reference in New Issue
Block a user