Permalink
Browse files

Example config.ini

  • Loading branch information...
1 parent ad5a53f commit 72066041ae6fae8427123effe4e04d284ade5080 @tomnomnom committed Feb 20, 2012
Showing with 14 additions and 18 deletions.
  1. +0 −1 .gitignore
  2. +14 −0 config.example.ini
  3. +0 −17 example.config.php
View
@@ -1,3 +1,2 @@
-config.php
config.ini
*.log
View
@@ -0,0 +1,14 @@
+[vimeo]
+consumer_key = ""
+secret = ""
+
+[log]
+; Possible values are "file" and "null"
+type = "file"
+
+; Possible values are "EMERGE", "ALERT", "CRIT", "ERR", "WARN", "NOTICE", "INFO" and "DEBUG"
+level = "WARN"
+
+file = "/var/log/tvyv.log"
+
+
View
@@ -1,17 +0,0 @@
-<?php
-/* Config -- EDIT THESE SETTINGS!
- ------*/
-
-$test_only = true; // should we only do a test run and not actually copy/paste anything? A test run will output the stages but wont download or create any files on vimeo.
-$youtube_username = 'meh'; // your youtube username
-$vimeo_consumer_key = ''; // your vimeo consumer key
-$vimeo_secret = ''; // your secret from vimeo
-$logpath = "/var/log/youtube_to_vimeo.txt";
-
-// DO NOT EDIT BELOW THIS LINE
-$settings["test_only"] = $test_only;
-$settings["youtube_username"] = $youtube_username;
-$settings["vimeo_consumer_key"] = $vimeo_consumer_key;
-$settings["vimeo_secret"] = $vimeo_secret;
-$settings["logpath"] = $logpath;
-?>

0 comments on commit 7206604

Please sign in to comment.