Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 1.6.0 "beta"
#71

[eluser]zdknudsen[/eluser]
Quote:Documented the timezones() function in the Date Helper.

Is 'timezones' not an awkward choice of name for a function that returns an hour offset?
#72

[eluser]Derek Allard[/eluser]
[quote author="James Gifford" date="1201430003"]I don’t know if this was intentional or if its a bug, but I need to be able to access the default_controller property. Is there any way to do this now without loading the router class separately?[/quote]

Could you just add
Code:
$config['default_controller'] = "welcome";
to your config file?
#73

[eluser]James Gifford[/eluser]
Ah yes, that is an even simpler solution.

Still, it would be nice not to have to set that value twice.
#74

[eluser]Seppo[/eluser]
Mmm... how about this one, James?
Code:
// config/routes.php
$config['default_controller'] = $route['default_controller'] = "welcome";

// config/autoload.php
$autoload['config'] = array('routes');

// anywhere else
$this->config->item('default_controller');
#75

[eluser]Peter Ivanov[/eluser]
Hello, some official release date for CodeIgniter 1.6.0 ????
#76

[eluser]Derek Allard[/eluser]
no official date
#77

[eluser]zdknudsen[/eluser]
It's CodeIgniter's 2nd birthday in a month. *coughcough*
#78

[eluser]maesk[/eluser]
[quote author="Zacharias Knudsen" date="1201482969"]
Quote:Documented the timezones() function in the Date Helper.

Is 'timezones' not an awkward choice of name for a function that returns an hour offset?[/quote]

Isn't a timezone an hour offset from GMT? Not akward at all IMHO.
#79

[eluser]zdknudsen[/eluser]
A time zone is a region of the Earth. The function name is also plural. Anyway I just found it odd.
#80

[eluser]maesk[/eluser]
Never mind (I know what a time zone is)...
@EllisLab: I love CI and I'm looking forward to the official release of CI 1.6, keep up the great work!




Theme © iAndrew 2016 - Forum software by © MyBB