Bug Report #1069

CLI Kohana does not work properly when not in same directory as index.php

Added by Jeremy Bush about 3 years ago. Updated about 3 years ago.

Status:Closed Start date:
Priority:High Due date:
Assignee:Jeremy Bush % Done:

0%

Category:Core
Target version:2.3.1
Resolution:fixed Points:

Description

Kohana barfs if you call index.php from the command line when you aren't in the same directory as index.php:

php /path/to/index.php controller/method

cli_patch.patch (1.1 kB) Jeremy Bush -, 01/20/2009 07:46 pm

Associated revisions

History

Updated by Jeremy Bush about 3 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Fixed in r3915 and merged in r3916.

Note that this (probably) breaks symlink index.php's but I think that's ok.

Also available in: Atom PDF