This file contains 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' |
This file contains 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 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 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 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 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.'); | |
/** | |
* App Exception handler | |
*/ | |
class App_Exception_Handler { | |
public static function handle(Exception $e) | |
{ |
This file contains 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
I18n | |
Kohana_I18n | |
Log | |
Kohana_Log | |
Config | |
Kohana_Config | |
App_Exception_Handler | |
Log_File | |
Kohana_Log_File | |
Log_Writer |
This file contains 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
<script> | |
Post = can.Model({ | |
}, { | |
init: function() { | |
var children = this.children; | |
this.removeAttr('children'); | |
this.children = new Post.List( children.serialize() ); | |
} | |
}); |
This file contains 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
Sveicināti! | |
Vēlos izteikt pretenziju par grozījumiem Latvijas Administratīvo pārkāpumu kodeksā - Nr: 431/Lp11. | |
Pretenzijas man ir pret 171.3 pantu. | |
171.3 pants. Alkoholisko dzērienu iegādāšanās, ja pircējs vecumā no 18 līdz 25 gadam neuzrāda personu apliecinošu dokumentu | |
Par alkoholisko dzērienu iegādāšanos, ja pircējs vecumā no 18 līdz 25 gadam neuzrāda personu apliecinošu dokumentu –izsaka brīdinājumu vai uzliek naudas sodu līdz divdesmit pieciem latiem. | |
Loģiski spriežot, 24 gadus veca persona, iegādājoties alkoholiksu dzērienu un neuzrādot personu apliecinošu dokumentu, būs izdarījusi administratīvu pārkāpumu, par kuru var tikt sodīta ar līdz pat 25 latu naudas sodu. |
This file contains 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
<!--[if IE 9]> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-ajaxtransport-xdomainrequest/1.0.1/jquery.xdomainrequest.min.js"></script> | |
<![endif]--> |
OlderNewer