<?php
class mbd_info
{
function __construct($core)
{
$this->core = $core;
}
function cms()
{
$result = 0;
foreach($this->core->data->options AS $i => $v)
if(is_dir($this->core->root.$v) || is_file($this->core->root.$v))
{
$result = $i;
break;
}
$this->core->data->result = $result;
}
}