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 | |
// autoload | |
spl_autoload_register(function($name) { | |
require __DIR__.'/lib/'.$name.'.php'; | |
}); |
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 | |
// autoload.php | |
// php5.3 <= | |
spl_autoload_register(function($name) { | |
require __DIR__."/lib/".$name.".php"; | |
}); |
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 | |
/* | |
* The following methods are derived from code of the Zend Framework (1.10dev - 2010-01-24) | |
* | |
* Code subject to the new BSD license (http://framework.zend.com/license/new-bsd). | |
* | |
* Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) | |
*/ |
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 opPasswordHashException extends Exception {} | |
/** | |
* opPasswordHash | |
* | |
* This class is based on | |
* Portable PHP password hashing framework <http://www.openwall.com/phpass/> | |
* by Solar Designer <solar at openwall.com>. |
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
Hello world!!!!! |
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
<html> | |
<head> | |
<title>Hello world!!!</title> | |
</head> | |
<body> | |
Hello world!! | |
</body> | |
</html> |
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
#!/bin/sh | |
ack-grep -w -l "class Album" | xargs perl -p -i -e "s/\bclass Album\b/class Shindig_Album/g" | |
ack-grep -w -l "class Activity" | xargs perl -p -i -e "s/\bclass Activity\b/class Shindig_Activity/g" | |
ack-grep -w -l "instanceof Activity" | xargs perl -p -i -e "s/\binstanceof Activity\b/instanceof Shindig_Activity/g" | |
ack-grep -w -l "class Config" | xargs perl -p -i -e "s/\bclass Config\b/class Shindig_Config/g" | |
ack-grep -w -l "Config::" | xargs perl -p -i -e "s/\bConfig::/Shindig_Config::/g" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Module> | |
<ModulePrefs title="App Test - 1" description="Pc App Test" author="Shogo Kawahara"> | |
<Require feature="opensocial-0.9" /> | |
<Require feature="dynamic-height" /> | |
<Require feature="osapi" /> | |
<Require feature="flash" /> | |
<Require feature="views" /> | |
</ModulePrefs> | |
<Content type="html" view="canvas"> |
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
Index: config.php.sample | |
=================================================================== | |
--- config.php.sample (リビジョン 13630) | |
+++ config.php.sample (作業コピー) | |
@@ -227,6 +227,10 @@ | |
// デバッグ、エラーハンドリング、ログ設定 | |
/// | |
+if (!defined('E_DEPRECATED')) { | |
+ define('E_DEPRECATED', 8192); |