예제 #1
0
 public function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new PF();
     }
     return self::$instance;
 }
예제 #2
0
<?php

include_once 'system/function.php';
error_reporting(E_ALL);
ini_set("display_errors", "on");
pf_require_class("PF");
$pf = PF::getInstance();
$pf->run();