Show
Ignore:
Timestamp:
11/18/2007 03:13:52 AM (13 months ago)
Author:
Shadowhand
Message:

Batch of core changes:

  • Added a configuration file for profiler, to enable/disable specific profiler information
  • Implemented configuration handling in Profiler and views/kohana_profiler.php
  • Added system/models/form.php and views/kohana_form.php, see: http://kohanaphp.com/tutorials/quick_forms.html
  • text::random('unique') now uses sha1, instead of md5
  • Added a couple of missing connect() calls in Database
  • Added Database::list_fields() and Database_Mysql::list_fields()
  • Fixed Database_Mysql::escape_table()
  • Changed Loader::helper() to just do a Log::add('debug') instead of actually loading the helper
  • Updated some comment styles to prepare for Kodoc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/core/Kohana.php

    r1121 r1168  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    2 /* 
     2/** 
    33 * Class: Kohana 
    44 *  Provides Kohana-specific helper functions. This is where the magic happens! 
     
    420420        } 
    421421 
    422         /* 
     422        /** 
    423423         * Method: show_error 
    424424         *  Show a custom error message 
     
    437437        } 
    438438 
    439         /* 
     439        /** 
    440440         * Method: auto_load 
    441441         *  Provides class auto-loading 
     
    500500        } 
    501501 
    502         /* 
     502        /** 
    503503         * Method: find_file 
    504504         *  Find a resource file in a given directory 
     
    563563        } 
    564564 
    565         /* 
     565        /** 
    566566         * Method: list_files 
    567567         *  Lists all files and directories in a resource path 
     
    570570         *  directory - directory to search 
    571571         *  recursive - list all files to the maximum depth? 
    572     *  path      - full path to search (used for recursion, *never* set this manually) 
     572        *  path      - full path to search (used for recursion, *never* set this manually) 
    573573         */ 
    574574        public static function list_files($directory, $recursive = FALSE, $path = FALSE)