This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('SYSPATH') or die('No direct script access.'); | |
// -- Environment setup -------------------------------------------------------- | |
// Load the core Kohana class | |
require SYSPATH.'classes/Kohana/Core'.EXT; | |
if (is_file(APPPATH.'classes/Kohana'.EXT)) | |
{ | |
// Application extends the core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
abstract class Base_DB_ORM_Model extends Kohana_Object { | |
public function get_errors_filename() | |
{ | |
$self = get_class($this); | |
return call_user_func(array($self, 'errors_filename')); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Employee { | |
public static function salary() | |
{ | |
return 0; | |
} | |
public function test1() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('SYSPATH') OR die('No direct script access.'); | |
/** | |
* Copyright 2011-2012 Spadefoot | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule add git://github.com/zombor/KOstache.git modules/kostache | |
git submodule init | |
git submodule update --init --recursive | |
this gives me an error: | |
fatal: Not a git repository: ../../../../../../../../..//c/var/www/portal/htdocs/.git/modules/modules/kostache/modules/vendor/mustache | |
Failed to recurse into submodule path 'modules/kostache' |
NewerOlder