Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 310 → Редакция 309

/branches/ant-ng/lib/owner.php
Новый файл
0,0 → 1,26
<?php
/**
*
* Codename: ant-ng - generator of sources.list for Debian and
* distributives, based on Debian
* http://alex-w.org.ru/p/antng/
*
* Copyright (c) 2009 Alexander Wolf
* Dual licensed under the MIT and GNU LGPL licenses.
* http://alex-w.org.ru/p/antng/license
*
*/
 
class Owner {
protected $db = NULL;
protected $prefix = NULL;
protected $secure = NULL;
 
function __constructor($database,$prefix,$secure) {
$this->db = $database;
$this->prefix = $prefix;
$this->secure = $secure;
}
}
 
?>
/branches/ant-ng/init.php
41,7 → 41,8
$query =& $db->query("SET NAMES utf8");
 
$secure = new Security();
$core = new Core($db, PREFIX, $secure);
$owner = new Owner($db, PREFIX, $secure);
$core = new Core($db, PREFIX, $secure, $owner);
$smarty = new Smarty();
 
?>