Хранилища Subversion ant

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

Учитывать пробелы Редакция 307 → Редакция 306

/branches/ant-ng/lib/core.php
13,24 → 13,7
*/
 
class Core {
protected $db = NULL;
 
function __constructor($database) {
$this->db = $database;
}
 
}
 
class Security extends Core {
function __constructor() {
 
}
}
 
class Owner extends Core {
function __constructor() {
 
}
}
 
?>
/branches/ant-ng/init.php
40,7 → 40,7
$db->setFetchMode(DB_FETCHMODE_ASSOC);
$query =& $db->query("SET NAMES utf8");
 
$core = new Core($db);
$smarty = new Smarty();
$core = new Core;
$smarty = new Smarty;
 
?>