Changeset 2701
- Timestamp:
- 05/28/2008 04:47:07 PM (6 months ago)
- Files:
-
- 1 modified
-
trunk/modules/forge/libraries/Forge.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/forge/libraries/Forge.php
r2699 r2701 90 90 switch (count($args)) 91 91 { 92 case 0:93 throw new Kohana_Exception('forge.invalid_input', $input);94 break;95 92 case 1: 96 93 $input = new $input($args[0]); … … 99 96 $input = new $input($args[0], $args[1]); 100 97 break; 98 default: 99 throw new Kohana_Exception('forge.invalid_input', $input); 101 100 } 102 101
