예제 #1
0
<?php

session_name("frisor_co");
session_start();
define("ROOT", dirname(__FILE__));
require "classes/class.jsondb.php";
require "classes/class.cms.php";
$jsonDatabase = new JsonDB(["database_folder" => ROOT . "/json/", "compress" => false]);
$jsonDatabase->select_db("frisor_co");
$cms = new Cms($jsonDatabase);