Permalink
Browse files

more setup

  • Loading branch information...
1 parent 9aae3ec commit d525c9d9eb3482444fdf5ba3e3186dbae2d4499e @Stardog Stardog committed Jun 6, 2013
@@ -31,6 +31,7 @@ function phpwsAutoload($class_name)
'mod/\\1/class/\\2.php', $class_name);
$global_file = PHPWS_SOURCE_DIR . 'Global/' . $class_name . '.php';
$class_file = PHPWS_SOURCE_DIR . 'core/class/' . $class_name . '.php';
+
if (is_file($new_mod_file)) {
$files_found[$class_name] = $new_mod_file;
require_once $new_mod_file;
View
0 config/core/placeholder.txt 100644 → 100755
No changes.
View
@@ -14,16 +14,19 @@ mb_internal_encoding('UTF-8');
ini_set('display_errors', 'On');
error_reporting(E_ALL | E_STRICT);
require_once 'config/core/config.php';
-require_once 'core/conf/defines.dist.php';
-
+if (file_exists(PHPWS_SOURCE_DIR . 'core/conf/defines.php')) {
+ require_once(PHPWS_SOURCE_DIR . 'core/conf/defines.php');
+} else {
+ require_once(PHPWS_SOURCE_DIR . 'core/conf/defines.dist.php');
+}
+date_default_timezone_set(DATE_SET_SERVER_TIME_ZONE);
require_once 'Global/Functions.php';
+
set_exception_handler(array('Error', 'exceptionHandler'));
if (ERRORS_AS_EXCEPTION) {
set_error_handler(array('Error', 'errorHandler'));
}
/* * ************************************************* */
-echo 'This is a test file for phpwebsite functionality';
-/* * *************************************************** */
?>
View
0 logs/.htaccess 100644 → 100755
No changes.
@@ -1,24 +1,15 @@
<?php
/**
- *
- * WARNING: This module has been deprecated. It will no longer be
- * maintained by phpwebsite and no further bug/security patches will
- * be released. It will be removed from the phpWebsite distribution
- * at some point in the future. We recommend migrating to one of the
- * many other freely available web forums packages.
- *
- * @deprecated since phpwebsite 1.8.0
- *
- * @version $Id$
+ * @version $Id: index.php 8136 2012-04-18 14:52:45Z matt $
* @author Steven Levin
* @modified Matthew McNaney <mcnaney at gmail dot com>
*/
if(!defined('PHPWS_SOURCE_DIR')) {
exit();
}
-Deprecate::moduleWarning('photoalbum');
+
$CNT_photoalbum['content'] = NULL;
PHPWS_Core::requireConfig('photoalbum');
@@ -6,4 +6,4 @@
4 = CONTROLPANEL_USER_OPTIONS
5 = CONTROLPANEL_PAGE_OPTIONS
6 = CONTROLPANEL_CREATE_OPTIONS
-7 = LIKEBOX_DEFAULT
+7 = LIKEBOX_DEFAULT

0 comments on commit d525c9d

Please sign in to comment.