Modifications to make RippingCluster code work

This commit is contained in:
2011-04-21 23:33:21 +01:00
parent 998a9d958f
commit 177ed337b0
7 changed files with 29 additions and 22 deletions

View File

@@ -48,7 +48,8 @@ class SihnonFramework_Main {
*/
public static function instance() {
if (!self::$instance) {
self::$instance = new Sihnon_Main();
$called_class = get_called_class();
self::$instance = new $called_class();
self::$instance->init();
}