Subversion-Projekte lars-tiefland.ci

Revision

Revision 2127 | Revision 2130 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2127 Revision 2128
Zeile 94... Zeile 94...
94
 
94
 
Zeile 95... Zeile 95...
95
	protected $image_objects = array();
95
	protected $image_objects = array();
96
 
96
 
97
	public function __construct($options = null, $initialize = true, $error_messages = null)
97
	public function __construct($options = null, $initialize = true, $error_messages = null)
98
	{
98
	{
99
        $real_url = getDokDomain();
99
		$real_url = getDokDomain();
100
        $real_url .= "/images/upload/";
100
		$real_url .= "/images/upload/";
101
        $real_folder = $GLOBALS["webs"]["verzeichnis"] . '/images/upload/';
101
		$real_folder = $GLOBALS["webs"]["verzeichnis"] . '/images/upload/';
102
		$this->response = array();
102
		$this->response = array();
103
		$this->options = array(
103
		$this->options = array(
104
			'script_url' => $this->get_full_url() . '/' . $this->basename($this->
104
			'script_url' => $this->get_full_url() . '/' . $this->basename($this->
105
				get_server_var('SCRIPT_NAME')),
105
				get_server_var('SCRIPT_NAME')),
106
			'upload_dir' => $real_folder,
106
			'upload_dir' => $real_folder . "orig/",
107
			'upload_url' => $real_url,
107
			'upload_url' => $real_url . "orig/",
108
			'input_stream' => 'php://input',
108
			'input_stream' => 'php://input',
109
			'user_dirs' => false,
109
			'user_dirs' => false,
110
			'mkdir_mode' => 0755,
110
			'mkdir_mode' => 0755,