Kohana v3.03 reset

Download Kohana v3.0.3

Upload files to your server

Fix these paths inside index.php:

$application = '../application';
$modules = '../modules';
$system = '../system';

Try accessing to make sure you installed correctly:


Some tweaks:

Inside application/bootstrap.php:

 'base_url' => '/',
 'index_file' => '',

Now create: application/classes/controller/layout.php

Now extend the previous controller: application/classes/controller/website.php

And create a controller to handle content: application/classes/controller/content.php

Trying my GSA-T20L optical drive with MCE usb 2.0 enclosure for the superdrive

After purchasing and using the MCE optibay on my white macbook 13″, I got really curious as it that would work for any regular laptop PC….

Having not asked any of the manufacturers involved, I put my brain to work and wouldn’t make any sense for Apple to create a totally different connector for its Super Drive (as it would shrink its market and make it worse/harder for consumers to get replacement parts); and would make even less sense for MCE to develop something that would not follow any standard.

People can always say that mixing parts of different manufactures is dangerous (that seems to be some Apple certified technician’s minds by the way); and there will be those asking why I would take a chance of frying stuff when Asus and other laptop PC manufacturers have models with raid support.

Well, I happen to be curious and I don’t have money to get one of those, so….

Again I don’t have a lot of spare money… so for now I just tried hooking up the optical drive from my Asus G1s to the MCE usb 2.0 enclosure that came together when I bought my MCE Optibay. So far my experiment works….

As soon as I finish transferring all my files to an external HD I will post more pictures and an update to this post. Stay tuned.

Great way to parse HTML content using PHP

Today I started improving a newsletter system in the company I work for. One of the things I wanted to change is to have images embedded in the email message.

The website uses CodeIgniter (http://www.codeigniter.com); for email handling I chose Swift mailer (http://swiftmailer.org/). Then for HTML parsing to replace all the relative image paths and encode/embedded the images in the message I found this parser: SimpleHTMLDOM (http://simplehtmldom.sourceforge.net/).

Really simple to use and now I’m working on the rest of the stuff… managing templates for newsletter, handling subscription etc etc.

I’m going to add some sample code later. Drop me a line if I take too long.

  • IGlr