CodeIgniter Forums
CodeIgniter 1.6.0 "beta" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: CodeIgniter 1.6.0 "beta" (/showthread.php?tid=5305)

Pages: 1 2 3 4 5 6 7 8 9


CodeIgniter 1.6.0 "beta" - El Forum - 01-27-2008

[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?


CodeIgniter 1.6.0 "beta" - El Forum - 01-27-2008

[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?


CodeIgniter 1.6.0 "beta" - El Forum - 01-27-2008

[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.


CodeIgniter 1.6.0 "beta" - El Forum - 01-28-2008

[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');



CodeIgniter 1.6.0 "beta" - El Forum - 01-28-2008

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


CodeIgniter 1.6.0 "beta" - El Forum - 01-28-2008

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


CodeIgniter 1.6.0 "beta" - El Forum - 01-28-2008

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


CodeIgniter 1.6.0 "beta" - El Forum - 01-29-2008

[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.


CodeIgniter 1.6.0 "beta" - El Forum - 01-29-2008

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


CodeIgniter 1.6.0 "beta" - El Forum - 01-29-2008

[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!