This repository was archived by the owner on Nov 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +17
-14
lines changed Expand file tree Collapse file tree 3 files changed +17
-14
lines changed Original file line number Diff line number Diff line change
1
+ /* SEPARATOR */
1
2
DROP TABLE IF EXISTS ajxp_tasks;
2
-
3
+ /* SEPARATOR */
3
4
CREATE TABLE IF NOT EXISTS ajxp_tasks (
4
5
uid VARCHAR (255 ) NOT NULL ,
5
6
type INTEGER NOT NULL ,
@@ -18,13 +19,15 @@ CREATE TABLE IF NOT EXISTS ajxp_tasks (
18
19
nodes VARCHAR (500 ) NOT NULL ,
19
20
creation_date INTEGER NOT NULL DEFAULT 0 ,
20
21
status_update INTEGER NOT NULL DEFAULT 0 ,
21
-
22
22
PRIMARY KEY (uid)
23
23
);
24
-
25
-
24
+ /* SEPARATOR */
26
25
CREATE INDEX ajxp_task_usr_idx ON ajxp_tasks (user_id);
26
+ /* SEPARATOR */
27
27
CREATE INDEX ajxp_task_status_idx ON ajxp_tasks (status);
28
+ /* SEPARATOR */
28
29
CREATE INDEX ajxp_task_type ON ajxp_tasks (type);
30
+ /* SEPARATOR */
29
31
CREATE INDEX ajxp_task_schedule ON ajxp_tasks (schedule);
30
- CREATE INDEX ajxp_task_nodes_idx ON ajxp_tasks (nodes);
32
+ /* SEPARATOR */
33
+ CREATE INDEX ajxp_task_nodes_idx ON ajxp_tasks (nodes);
Original file line number Diff line number Diff line change @@ -33,14 +33,12 @@ function updateSharePhpContent($installPath, $publicFolder){
33
33
}, explode ("/ " , trim ($ publicFolder , "/ " )));
34
34
$ baseConfPath = implode ("/ " , $ folders );
35
35
36
- $ content = '
37
- <?php
36
+ $ content = '<?php
38
37
include_once(" ' .$ baseConfPath .'/base.conf.php");
39
38
define( \'AJXP_EXEC \', true);
40
39
require_once AJXP_INSTALL_PATH."/".AJXP_PLUGINS_FOLDER."/action.share/vendor/autoload.php";
41
40
$base = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/");
42
- \Pydio\Share\ShareCenter::publicRoute($base, "/proxy", ["hash" => $_GET["hash"]]);
43
- ' ;
41
+ \Pydio\Share\ShareCenter::publicRoute($base, "/proxy", ["hash" => $_GET["hash"]]); ' ;
44
42
file_put_contents ($ sharePhpPath , $ content );
45
43
46
44
}
Original file line number Diff line number Diff line change 1
1
DROP TABLE IF EXISTS ajxp_tasks;
2
-
2
+ /* SEPARATOR */
3
3
CREATE TABLE IF NOT EXISTS ajxp_tasks (
4
4
uid VARCHAR(255) NOT NULL ,
5
5
type INTEGER NOT NULL,
@@ -18,13 +18,15 @@ CREATE TABLE IF NOT EXISTS ajxp_tasks (
18
18
nodes VARCHAR(500) NOT NULL,
19
19
creation_date INTEGER NOT NULL DEFAULT 0,
20
20
status_update INTEGER NOT NULL DEFAULT 0,
21
-
22
21
PRIMARY KEY (uid)
23
22
);
24
-
25
-
23
+ /* SEPARATOR */
26
24
CREATE INDEX ajxp_task_usr_idx ON ajxp_tasks (user_id);
25
+ /* SEPARATOR */
27
26
CREATE INDEX ajxp_task_status_idx ON ajxp_tasks (status);
27
+ /* SEPARATOR */
28
28
CREATE INDEX ajxp_task_type ON ajxp_tasks (type);
29
+ /* SEPARATOR */
29
30
CREATE INDEX ajxp_task_schedule ON ajxp_tasks (schedule);
30
- CREATE INDEX ajxp_task_nodes_idx ON ajxp_tasks (nodes);
31
+ /* SEPARATOR */
32
+ CREATE INDEX ajxp_task_nodes_idx ON ajxp_tasks (nodes);
You can’t perform that action at this time.
0 commit comments