/**
  * Class constructor
  *
  * @since   1.0
  * @param   array $list               Value to set for "B"
  * @param   mixed &$refTest           A referenced variable
  * @param   Iterator $classHintTest   An iterateable instance
  *                                    Two line comment test
  */
 public function __construct(array $list, $stuff, &$refTest = null, \Iterator $classHintTest = null)
 {
     parent::__construct($list);
     $this->stuff = $list;
     $this->pubVarB = $this;
     $this->currentDate = \DateTime::createFromFormat('U', time(), new \DateTimeZone('Europe/London'));
     if (extension_loaded('gd')) {
         $this->image = imagecreate(1, 1);
     }
     if (extension_loaded('curl')) {
         $curl = curl_init();
         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($curl, CURLOPT_URL, 'http://localhost');
         curl_setopt($curl, CURLOPT_HEADER, 0);
         curl_exec($curl);
         $this->curl = $curl;
     }
     $this->jsonString = json_encode($this->currentDate);
 }
 public function __construct()
 {
     parent::__construct("Client Browser", "Current client " . $_SERVER['HTTP_USER_AGENT']);
 }
 public function __construct()
 {
     parent::__construct("PHP APC extension", "Pydio framework loads a lot of PHP files at each query, and using a PHP accelerator is greatly recommanded.");
 }
 public function __construct()
 {
     parent::__construct("Exif Extension enabled", "Installing php-exif extension is recommended if you plan to handle images");
 }
 public function __construct()
 {
     parent::__construct("SSL Encryption", "You are not using SSL encryption, or it was not detected by the server. Be aware that it is strongly recommended to secure all communication of data over the network.");
 }
 public function __construct()
 {
     parent::__construct(self::$testKey, "You should enable php file_uploads parameter for uploading files with Pydio.");
 }
 public function __construct()
 {
     parent::__construct("PHP version", "Minimum required version is PHP 5.4.0");
 }
Exemple #8
0
 public function __construct()
 {
     parent::__construct("Filesystem Plugin", "");
 }
 public function __construct()
 {
     parent::__construct("MCrypt enabled", "MCrypt is required by all security functions.");
 }
 public function __construct()
 {
     parent::__construct("Pydio version", "Version : " . AJXP_VERSION);
 }
Exemple #11
0
 public function __construct($name, \Closure $execute)
 {
     parent::__construct($name);
     $this->execute = $execute;
 }
 public function __construct($name, $cmd)
 {
     parent::__construct($name);
     $this->execute = $cmd;
 }
 public function __construct()
 {
     parent::__construct("Magic quotes disabled", "Magic quotes need to be disabled, only relevent for php 5.3");
 }
 public function __construct()
 {
     parent::__construct("DOM Xml enabled", "Dom XML is required, you may have to install the php-xml extension.");
 }
Exemple #15
0
 public function __construct()
 {
     parent::__construct("Zlib extension (ZIP)", "Extension enabled : " . (function_exists('gzopen') || function_exists('gzopen64') ? "1" : "0"));
 }
 public function __construct()
 {
     parent::__construct("Server charset encoding", "You must set a correct charset encoding\n        in your locale definition in the form: en_us.UTF-8. Please refer to setlocale man page.\n        If your detected locale is C, simply type echo \$LANG on your server command line to read the correct value.");
 }
 public function __construct()
 {
     parent::__construct("PHP Limits variables", "<b>Testing configs</b>");
 }
 public function __construct()
 {
     parent::__construct("Upload particularities", "<b>Testing configs</b>");
 }
 public function __construct()
 {
     parent::__construct("PHP operating system", "Current operating system " . PHP_OS);
 }
 public function __construct()
 {
     parent::__construct("PHP error level", PHPErrorLevel::error2string(error_reporting()));
 }
 public function __construct()
 {
     parent::__construct("Users Configuration", "Current config for users");
 }
Exemple #22
0
 public function __construct()
 {
     parent::__construct("PHP INTL extension", "Pydio used intl to localize month names.");
 }
 public function __construct()
 {
     parent::__construct("PHP Session", "<b>Testing configs</b>");
 }
 public function __construct()
 {
     parent::__construct("PHP Output Buffer disabled", "You should disable php output_buffering parameter for better performances with Pydio.");
 }
 public function __construct()
 {
     parent::__construct("Required writeable folder", "One of the following folder should be writeable and is not : ");
 }
 public function __construct()
 {
     parent::__construct("PHP Command Line", "Testing PHP command line (default is php)");
 }
 public function __construct()
 {
     parent::__construct("PHP GD version", "GD is required for generating thumbnails");
 }