Subversion Repositories eFlore/Applications.del

Rev

Rev 983 | Rev 1876 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 983 Rev 1626
Line 50... Line 50...
50
		
50
 
51
		if (isset($_SERVER['REQUEST_URI']) && isset($_SERVER['QUERY_STRING'])) {
51
		if (isset($_SERVER['REQUEST_URI']) && isset($_SERVER['QUERY_STRING'])) {
52
			$url_morceaux = $this->parserUrl();
52
			$url_morceaux = $this->parserUrl();
53
			if (isset($url_morceaux[0])) {
53
			if (isset($url_morceaux[0])) {
-
 
54
				$this->widget = $url_morceaux[0];
-
 
55
				// hack car chez moi (mathias) je me retrouve avec $url_morceaux[0] = "delnomduwidget", pourtant j'ai le même .htaccess...
-
 
56
				if (strpos($this->widget, ":") !== false) {
-
 
57
					$this->widget = substr($this->widget, strpos($this->widget, ":") + 1);
54
				$this->widget = $url_morceaux[0];
58
				}
55
				self::$config['chemins']['widgetCourantDossier'] = self::$config['chemins']['widgetsDossier'].strtolower($this->widget).DIRECTORY_SEPARATOR;
59
				self::$config['chemins']['widgetCourantDossier'] = self::$config['chemins']['widgetsDossier'].strtolower($this->widget).DIRECTORY_SEPARATOR;
56
				$this->chargerWidgetConfig();
60
				$this->chargerWidgetConfig();
57
			}
61
			}
58
			// Chargement des chemins pour l'autoload
62
			// Chargement des chemins pour l'autoload