Permalink
Browse files

- adding initial plugin, auth, and templates for Gallery2 installs.

- reorganized caller constructor
- fixed bug in cache where empty objects were being cached.
  • Loading branch information...
padams
padams committed Jan 5, 2008
1 parent 5284864 commit 00564228f9fcba6d7858ad8f6153034630e0b62e
View
@@ -0,0 +1,10 @@
+<?php
+
+
+/**
+ * Gallery Template Callbacks class placeholder
+ * Needed for fake out the require_once() in Gallery's template class callback method
+ * See OWA Gallery module for the actual callback class
+ */
+
+?>
View
@@ -17,7 +17,7 @@
//
/**
- * DB Configuration
+ * OWA Configuration
*
* @author Peter Adams <peter@openwebanalytics.com>
* @copyright Copyright &copy; 2006 Peter Adams <peter@openwebanalytics.com>
@@ -28,17 +28,45 @@
* @since owa 1.0.0
*/
-define('OWA_DB_TYPE', ''); // options: mysql
-define('OWA_DB_NAME', ''); // name of the database
-define('OWA_DB_HOST', ''); // host name of the server housing the database
-define('OWA_DB_USER', ''); // database user
-define('OWA_DB_PASSWORD', ''); // database user's password
-
-// define the URL of the public directory e.g. http://www.domain.com/root/dir/owa/public/
-// Don't forget the slash at the end.
-define('OWA_PUBLIC_URL', '');
-
-// Log all php errors to OWA's error log file. Only do this to debug.
-define('OWA_LOG_PHP_ERRORS', false);
+/**
+ * DATABASE CONFIGURATION
+ *
+ * Connection info for databases that will be used by OWA.
+ *
+ */
+
+//define('OWA_DB_TYPE', ''); // options: mysql
+//define('OWA_DB_NAME', ''); // name of the database
+//define('OWA_DB_HOST', ''); // host name of the server housing the database
+//define('OWA_DB_USER', ''); // database user
+//define('OWA_DB_PASSWORD', ''); // database user's password
+
+
+/**
+ * PUBLIC URL
+ *
+ * Define the URL of the public directory e.g. http://www.domain.com/root/dir/owa/public/
+ * Don't forget the slash at the end.
+ */
+// define('OWA_PUBLIC_URL', '');
+
+/**
+ * LOG PHP ERRORS
+ *
+ * Log all php errors to OWA's error log file. Only do this to debug.
+ */
+
+//define('OWA_LOG_PHP_ERRORS', false);
+
+/**
+ * OBJECT CACHING
+ *
+ * Override setting to cache objects. Caching will increase performance.
+ */
+
+//define('OWA_CACHE_OBJECTS', true);
+
+
+
?>
Oops, something went wrong.

0 comments on commit 0056422

Please sign in to comment.