/**
  * 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);
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct("Client Browser", "Current client " . $_SERVER['HTTP_USER_AGENT']);
 }
Пример #3
0
 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.");
 }
Пример #4
0
 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.");
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct(self::$testKey, "You should enable php file_uploads parameter for uploading files with Pydio.");
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct("PHP version", "Minimum required version is PHP 5.4.0");
 }
Пример #8
0
 public function __construct()
 {
     parent::__construct("Filesystem Plugin", "");
 }
Пример #9
0
 public function __construct()
 {
     parent::__construct("MCrypt enabled", "MCrypt is required by all security functions.");
 }
Пример #10
0
 public function __construct()
 {
     parent::__construct("Pydio version", "Version : " . AJXP_VERSION);
 }
Пример #11
0
 public function __construct($name, \Closure $execute)
 {
     parent::__construct($name);
     $this->execute = $execute;
 }
Пример #12
0
 public function __construct($name, $cmd)
 {
     parent::__construct($name);
     $this->execute = $cmd;
 }
Пример #13
0
 public function __construct()
 {
     parent::__construct("Magic quotes disabled", "Magic quotes need to be disabled, only relevent for php 5.3");
 }
Пример #14
0
 public function __construct()
 {
     parent::__construct("DOM Xml enabled", "Dom XML is required, you may have to install the php-xml extension.");
 }
Пример #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.");
 }
Пример #17
0
 public function __construct()
 {
     parent::__construct("PHP Limits variables", "<b>Testing configs</b>");
 }
Пример #18
0
 public function __construct()
 {
     parent::__construct("Upload particularities", "<b>Testing configs</b>");
 }
Пример #19
0
 public function __construct()
 {
     parent::__construct("PHP operating system", "Current operating system " . PHP_OS);
 }
Пример #20
0
 public function __construct()
 {
     parent::__construct("PHP error level", PHPErrorLevel::error2string(error_reporting()));
 }
Пример #21
0
 public function __construct()
 {
     parent::__construct("Users Configuration", "Current config for users");
 }
Пример #22
0
 public function __construct()
 {
     parent::__construct("PHP INTL extension", "Pydio used intl to localize month names.");
 }
Пример #23
0
 public function __construct()
 {
     parent::__construct("PHP Session", "<b>Testing configs</b>");
 }
Пример #24
0
 public function __construct()
 {
     parent::__construct("PHP Output Buffer disabled", "You should disable php output_buffering parameter for better performances with Pydio.");
 }
Пример #25
0
 public function __construct()
 {
     parent::__construct("Required writeable folder", "One of the following folder should be writeable and is not : ");
 }
Пример #26
0
 public function __construct()
 {
     parent::__construct("PHP Command Line", "Testing PHP command line (default is php)");
 }
Пример #27
0
 public function __construct()
 {
     parent::__construct("PHP GD version", "GD is required for generating thumbnails");
 }