Changeset 2478 for alternc/trunk/bureau/class/m_mysql.php
- Timestamp:
- 02/27/09 01:31:59 (13 months ago)
- Files:
-
- 1 modified
-
alternc/trunk/bureau/class/m_mysql.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/class/m_mysql.php
r2076 r2478 61 61 * "db" => database name "bck" => backup mode for this db 62 62 * "dir" => Backup folder. 63 * "size" => Size of the database (in bytes)64 63 * Returns FALSE if the user has no database. 65 64 */ … … 76 75 list($dbu,$dbn)=split_mysql_database_name($db->f("db")); 77 76 $c[]=array("db"=>$db->f("db"), "name"=>$dbn,"bck"=>$db->f("bck_mode"), "dir"=>$db->f("bck_dir"), "login"=>$db->f("login"), "pass"=>$db->f("pass")); 78 }79 80 /* find the size of each database */81 foreach ($c as $key => $val) {82 $c[$key]['size'] = $this->get_db_size($c[$key]['db']);83 77 } 84 78 return $c;
