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 | |
/** | |
* Library Extension :: Extension of PHP STL. | |
**/ | |
function kDate($_addHyphen = false) { | |
return date($_addHyphen ? 'Y-m-d' : 'Ymd'); | |
} | |
function kDatetime() { |
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
#encoding: UTF-8 | |
class SkydriveGetter | |
attr_reader :fullLocation, :file | |
def initialize(id, file) | |
id = URI.decode(id) if id.include?('%') | |
@loc = id | |
@file = file |
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 | |
ini_set('display_error', 1); | |
error_reporting(E_ALL & ~E_NOTICE); | |
class skyDriveDL { | |
// Location | |
private $loc; | |
// File | |
private $file; | |
NewerOlder