Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 484 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 484 Rev 488
Line 59... Line 59...
59
					break;
59
					break;
60
				case 'downloadWiki' :
60
				case 'downloadWiki' :
61
					$wiki = $this->getClasseWiki();
61
					$wiki = $this->getClasseWiki();
62
					$wiki->dowloaderPagesWiki();
62
					$wiki->dowloaderPagesWiki();
63
					break;
63
					break;
64
				case 'uploadEflore' :
64
				case 'uploadTxt' :
65
					$wiki = $this->getClasseWiki();
65
					$wiki = $this->getClasseWiki();
66
					$wiki->uploaderDansWikiEflore();
66
					$wiki->uploaderDansWikiEflore();
67
					break;
67
					break;
68
				case 'uploadEfloreIndex' :
68
				case 'uploadIndex' :
69
					$wiki = $this->getClasseWiki();
69
					$wiki = $this->getClasseWiki();
70
					$wiki->uploaderIndexDansWikiEflore();
70
					$wiki->uploaderIndexDansWikiEflore();
71
					break;
71
					break;
-
 
72
				case 'chargerTxt' :
-
 
73
					$wiki = $this->getClasseWiki();
-
 
74
					$wiki->chargerTxtDansWikiEflore();
-
 
75
					break;
-
 
76
				case 'chargerIndex' :
-
 
77
					$wiki = $this->getClasseWiki();
-
 
78
					$wiki->chargerIndexDansWikiEflore();
-
 
79
					break;
72
				default :
80
				default :
73
					throw new Exception("Erreur : la commande '$cmd' n'existe pas!");
81
					throw new Exception("Erreur : la commande '$cmd' n'existe pas!");
74
			}
82
			}
75
		} catch (Exception $e) {
83
		} catch (Exception $e) {
76
			$this->traiterErreur($e->getMessage());
84
			$this->traiterErreur($e->getMessage());