Добавил namespace и зависимости
This commit is contained in:
parent
e9f7c23990
commit
32ec09a66a
92 changed files with 454 additions and 128 deletions
|
|
@ -1,6 +1,12 @@
|
|||
<?php
|
||||
|
||||
class Database_Manager
|
||||
namespace ctiso\Database;
|
||||
use ctiso\Database,
|
||||
ctiso\Tools\SQLStatementExtractor,
|
||||
ctiso\Path,
|
||||
Exception;
|
||||
|
||||
class Manager
|
||||
{
|
||||
public /*.Database.*/$db;
|
||||
|
||||
|
|
@ -36,7 +42,7 @@ class Database_Manager
|
|||
$file = $action["source"];
|
||||
}
|
||||
|
||||
$stmtList = Tools_SQLStatementExtractor::extractFile(Path::join(dirname($db_file), $file));
|
||||
$stmtList = SQLStatementExtractor::extractFile(Path::join(dirname($db_file), $file));
|
||||
foreach($stmtList as $stmt) {
|
||||
$this->db->executeQuery($stmt);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue