Changeset 688
- Timestamp:
- 12/08/07 00:40:00 (1 year ago)
- Files:
-
- trunk/lib/jelix-scripts/templates/var/config/defaultconfig.ini.php.tpl (modified) (1 diff)
- trunk/lib/jelix-scripts/templates/var/config/defaultconfig.ini.php.tpl (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/templates/404.html.tpl (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/templates/404.html.tpl (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/templates/404.xul.tpl (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/templates/404.xul.tpl (modified) (1 diff)
- trunk/lib/jelix/core/defaultconfig.ini.php (modified) (1 diff)
- trunk/lib/jelix/core/defaultconfig.ini.php (modified) (1 diff)
- trunk/lib/jelix/core/jCoordinator.class.php (modified) (1 diff)
- trunk/lib/jelix/core/jCoordinator.class.php (modified) (1 diff)
- trunk/testapp/var/config/defaultconfig.ini.php (modified) (1 diff)
- trunk/testapp/var/config/defaultconfig.ini.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix-scripts/templates/var/config/defaultconfig.ini.php.tpl
r674 r688 72 72 entrypointExtension= .php 73 73 74 notfoundAct = "jelix~error_notfound" 74 ; leave empty to have jelix error messages 75 notfoundAct = 76 ;notfoundAct = "jelix~error_notfound" 75 77 76 78 ;indique si vous utilisez IIS comme serveur trunk/lib/jelix-scripts/templates/var/config/defaultconfig.ini.php.tpl
r674 r688 72 72 entrypointExtension= .php 73 73 74 notfoundAct = "jelix~error_notfound" 74 ; leave empty to have jelix error messages 75 notfoundAct = 76 ;notfoundAct = "jelix~error_notfound" 75 77 76 78 ;indique si vous utilisez IIS comme serveur trunk/lib/jelix/core-modules/jelix/templates/404.html.tpl
r247 r688 1 1 <h1>404 Not Found</h1> 2 <p>Sorry, the requested page doesn't exist s</p>2 <p>Sorry, the requested page doesn't exist</p> 3 3 <p style="font-size:0.6em; font-style:italic">Powered by Jelix.</p> trunk/lib/jelix/core-modules/jelix/templates/404.html.tpl
r247 r688 1 1 <h1>404 Not Found</h1> 2 <p>Sorry, the requested page doesn't exist s</p>2 <p>Sorry, the requested page doesn't exist</p> 3 3 <p style="font-size:0.6em; font-style:italic">Powered by Jelix.</p> trunk/lib/jelix/core-modules/jelix/templates/404.xul.tpl
r247 r688 1 1 <html:div> 2 2 <html:h1>404 Not Found</html:h1> 3 <html:p>Sorry, the requested page doesn't exist s</html:p>3 <html:p>Sorry, the requested page doesn't exist</html:p> 4 4 <html:p style="font-size:0.6em; font-style:italic">Powered by Jelix.</html:p> 5 5 </html:div> trunk/lib/jelix/core-modules/jelix/templates/404.xul.tpl
r247 r688 1 1 <html:div> 2 2 <html:h1>404 Not Found</html:h1> 3 <html:p>Sorry, the requested page doesn't exist s</html:p>3 <html:p>Sorry, the requested page doesn't exist</html:p> 4 4 <html:p style="font-size:0.6em; font-style:italic">Powered by Jelix.</html:p> 5 5 </html:div> trunk/lib/jelix/core/defaultconfig.ini.php
r674 r688 119 119 entrypointExtension= .php 120 120 121 notfoundAct = "jelix~error_notfound" 121 ; leave empty to have jelix error messages 122 notfoundAct = 123 ;notfoundAct = "jelix~error_notfound" 122 124 123 125 ;if you use IIS as a serveur set it to on trunk/lib/jelix/core/defaultconfig.ini.php
r674 r688 119 119 entrypointExtension= .php 120 120 121 notfoundAct = "jelix~error_notfound" 121 ; leave empty to have jelix error messages 122 notfoundAct = 123 ;notfoundAct = "jelix~error_notfound" 122 124 123 125 ;if you use IIS as a serveur set it to on trunk/lib/jelix/core/jCoordinator.class.php
r673 r688 191 191 try{ 192 192 $this->action = new jSelectorActFast($this->request->type, $this->moduleName, $this->actionName); 193 }catch(jExceptionSelector $e){ 194 if($e->getCode() == 12){ 195 throw new jException('jelix~errors.module.unknow',$this->moduleName); 196 }elseif($e->getCode() == 10){ 197 throw new jException('jelix~errors.action.unknow',$this->actionName); 198 } 199 } 200 201 $ctrl = $this->getController($this->action); 193 $ctrl = $this->getController($this->action); 194 }catch(jException $e){ 195 if ($gJConfig->urlengine['notfoundAct'] =='') { 196 throw $e; 197 } 198 try { 199 $this->action = new jSelectorAct($gJConfig->urlengine['notfoundAct']); 200 $ctrl = $this->getController($this->action); 201 }catch(jException $e2){ 202 throw $e; 203 } 204 } 202 205 203 206 $pluginparams = array(); trunk/lib/jelix/core/jCoordinator.class.php
r673 r688 191 191 try{ 192 192 $this->action = new jSelectorActFast($this->request->type, $this->moduleName, $this->actionName); 193 }catch(jExceptionSelector $e){ 194 if($e->getCode() == 12){ 195 throw new jException('jelix~errors.module.unknow',$this->moduleName); 196 }elseif($e->getCode() == 10){ 197 throw new jException('jelix~errors.action.unknow',$this->actionName); 198 } 199 } 200 201 $ctrl = $this->getController($this->action); 193 $ctrl = $this->getController($this->action); 194 }catch(jException $e){ 195 if ($gJConfig->urlengine['notfoundAct'] =='') { 196 throw $e; 197 } 198 try { 199 $this->action = new jSelectorAct($gJConfig->urlengine['notfoundAct']); 200 $ctrl = $this->getController($this->action); 201 }catch(jException $e2){ 202 throw $e; 203 } 204 } 202 205 203 206 $pluginparams = array(); trunk/testapp/var/config/defaultconfig.ini.php
r666 r688 75 75 entrypointExtension= .php 76 76 77 notfoundAct = "jelix~error_notfound" 77 notfoundAct = 78 ;notfoundAct = "jelix~error_notfound" 78 79 79 80 ;indique si vous utilisez IIS comme serveur trunk/testapp/var/config/defaultconfig.ini.php
r666 r688 75 75 entrypointExtension= .php 76 76 77 notfoundAct = "jelix~error_notfound" 77 notfoundAct = 78 ;notfoundAct = "jelix~error_notfound" 78 79 79 80 ;indique si vous utilisez IIS comme serveur
