mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:17:01 +02:00
google fixes
This commit is contained in:
@ -327,7 +327,7 @@ create index `audit_idx5` on `audit`(`domain`);
|
||||
|
||||
|
||||
create table if not exists `google` (
|
||||
`id` bigint unsigned not null primary key,
|
||||
`id` char(32) not null primary key,
|
||||
`email` char(128) not null unique,
|
||||
`access_token` char(255) default null,
|
||||
`refresh_token` char(255) default null,
|
||||
@ -336,7 +336,7 @@ create table if not exists `google` (
|
||||
|
||||
|
||||
create table if not exists `google_imap` (
|
||||
`id` bigint unsigned not null,
|
||||
`id` char(32) not null primary key,
|
||||
`email` char(128) not null,
|
||||
`last_msg_id` bigint default 0,
|
||||
key(`email`)
|
||||
|
@ -26,3 +26,6 @@ alter table ldap add column ldap_account_objectclass varchar(128) default null;
|
||||
alter table ldap add column ldap_distributionlist_attr varchar(128) default null;
|
||||
alter table ldap add column ldap_distributionlist_objectclass varchar(128) default null;
|
||||
|
||||
alter table google change column id id char(32) not null primary key;
|
||||
alter table google_imap change column id id char(32) not null primary key;
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
ini_set("session.save_path", "/tmp");
|
||||
|
||||
$webuidir = "";
|
||||
|
||||
if(isset($_SERVER['argv'][1])) { $webuidir = $_SERVER['argv'][1]; }
|
||||
|
||||
require_once($webuidir . "/config.php");
|
||||
|
||||
ini_set("session.save_path", DIR_TMP);
|
||||
|
||||
require(DIR_SYSTEM . "/startup.php");
|
||||
|
||||
require_once 'Zend/Mail/Protocol/Imap.php';
|
||||
|
Reference in New Issue
Block a user