Пример #1
0
 public function username()
 {
     if (self::$database) {
         if (preg_match_all(sprintf(Initialize::$replace["RDBSet"], "Username"), Compose::databaseFile3(), $code)) {
             new Compile($code);
             Initialize::databaseUsername($code[1][0]);
             Initialize::databaseCode($code[0][0], "username");
         } else {
             echo "no";
         }
     } else {
         die("Database not defined, call Database::database() to define.");
     }
 }