This is the rest of the ACL base class, which is the same for all underlying Geo libraries.
| 109 | |
| 110 | // This is the rest of the ACL base class, which is the same for all underlying Geo libraries. |
| 111 | void |
| 112 | Acl::read_html(const char *fn) |
| 113 | { |
| 114 | std::ifstream f; |
| 115 | |
| 116 | f.open(fn, std::ios::in); |
| 117 | if (f.is_open()) { |
| 118 | _html.append(std::istreambuf_iterator<char>(f), std::istreambuf_iterator<char>()); |
| 119 | f.close(); |
| 120 | Dbg(dbg_ctl, "Loaded HTML from %s", fn); |
| 121 | } else { |
| 122 | TSError("[%s] Unable to open HTML file %s", PLUGIN_NAME, fn); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | // Implementations for the RegexAcl class |
| 127 | bool |