This repository was archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.xml
More file actions
39 lines (34 loc) · 1.38 KB
/
config.example.xml
File metadata and controls
39 lines (34 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<config>
<!-- Information about the tool provider (used to generate config.xml for the tool!)-->
<tool>
<name>CanvasHack</name>
<description>Modular Javascript and CSS hacks to the Canvas UI with access to MySQL database storage and the Canvas API</description>
<id>smtech-canvashack</id>
<authenticate>index.php</authenticate>
<!-- handler paths are relative to this configuration XML file -->
<handlers>
<base>control-panel.php</base>
</handlers>
<!-- Where is the log file for the tool provider? (path relative to this XML file) -->
<log>logs/canvashack.log</log>
</tool>
<!-- Credentials for MySQL database -->
<mysql>
<host>localhost</host>
<username>canvashack</username>
<password>ibd`f6jL$ySE589</password>
<database>canvashack</database>
</mysql>
<customprefs>
<host>localhost</host>
<username>canvas-cust-pref</username>
<password>S2uPUmWHwoGq0ei</password>
<database>canvas-custom-prefs</database>
</customprefs>
<!-- Credentials for Canvas API (either <url> and <token> OR <key> and <secret> for OAuth token request) -->
<canvas>
<url>https://canvas.instructure.com/api/v1</url>
<token>m4EHehkSG4UyMbcHFic9uForeBkxlRIYAXiKPVOb2E3Bf4E</token>
</canvas>
</config>