]> git.agnieray.net Git - galette.git/commitdiff
Fix third party libs paths
authorJohan Cwiklinski <johan@x-tnd.be>
Thu, 23 Feb 2017 19:39:25 +0000 (20:39 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 23 Feb 2017 19:39:25 +0000 (20:39 +0100)
galette/config/paths.inc.php

index 74fcb2abc9634eb61452cbf25b3c2e931110c947..c6b103fe09b672769a0d86719482d5b3454048b9 100644 (file)
  * @since     Available since 0.7dev - 2009-03-13
  */
 
-if ( file_exists(GALETTE_ROOT . 'config/local_paths.inc.php') ) {
+if (file_exists(GALETTE_ROOT . 'config/local_paths.inc.php')) {
     include GALETTE_ROOT . 'config/local_paths.inc.php';
 }
 
 //external libraries
-if ( !defined('GALETTE_PASSWORD_COMPAT_PATH') ) {
-    define(
-        'GALETTE_PASSWORD_COMPAT_PATH',
-        GALETTE_ROOT . 'includes/password_compat-' . PASSWORD_COMPAT_VERSION
-    );
-}
-if ( !defined('GALETTE_ZEND_PATH') ) {
-    define('GALETTE_ZEND_PATH', GALETTE_ROOT . 'includes/Zend-' . ZEND_VERSION);
+if (!defined('GALETTE_ZEND_PATH')) {
+    define('GALETTE_ZEND_PATH', GALETTE_ROOT . 'vendor/zendframework');
 }
-if ( !defined('GALETTE_ANALOG_PATH') ) {
+if (!defined('GALETTE_ANALOG_PATH')) {
     define(
         'GALETTE_ANALOG_PATH',
-        GALETTE_ROOT . 'includes/Analog-' . ANALOG_VERSION
+        GALETTE_ROOT . 'vendor/analog/analog'
     );
 }
-if ( !defined('GALETTE_PHP_MAILER_PATH') ) {
+if (!defined('GALETTE_PHP_MAILER_PATH')) {
     define(
         'GALETTE_PHP_MAILER_PATH',
-        GALETTE_ROOT . 'includes/phpMailer-' . PHP_MAILER_VERSION
+        GALETTE_ROOT . 'vendor/phpmailer/phpmailer'
     );
 }
-if ( !defined('GALETTE_SMARTY_PATH') ) {
+if (!defined('GALETTE_SMARTY_PATH')) {
     define(
         'GALETTE_SMARTY_PATH',
-        GALETTE_ROOT . 'includes/Smarty-' . SMARTY_VERSION
+        GALETTE_ROOT . 'vendor/smarty/smarty/'
     );
 }
-if ( !defined('GALETTE_TCPDF_PATH') ) {
+if (!defined('GALETTE_TCPDF_PATH')) {
     define(
         'GALETTE_TCPDF_PATH',
-        GALETTE_ROOT . 'includes/tcpdf_' . TCPDF_VERSION
+        GALETTE_ROOT . '/vendor/tecnickcom/tcpdf'
     );
 }
 /*if ( !defined('GALETTE_SLIM_PATH') ) {
@@ -85,42 +79,42 @@ if ( !defined('GALETTE_SLIM_VIEWS_PATH') ) {
 }*/
 
 //galete's paths
-if ( !defined('GALETTE_CONFIG_PATH') ) {
+if (!defined('GALETTE_CONFIG_PATH')) {
     define('GALETTE_CONFIG_PATH', GALETTE_ROOT . 'config/');
 }
-if ( !defined('GALETTE_PLUGINS_PATH') ) {
+if (!defined('GALETTE_PLUGINS_PATH')) {
     define('GALETTE_PLUGINS_PATH', GALETTE_ROOT . 'plugins/');
 }
-if ( !defined('GALETTE_DATA_PATH') ) {
+if (!defined('GALETTE_DATA_PATH')) {
     define('GALETTE_DATA_PATH', GALETTE_ROOT . 'data/');
 }
-if ( !defined('GALETTE_TEMPLATES_PATH') ) {
+if (!defined('GALETTE_TEMPLATES_PATH')) {
     define('GALETTE_TEMPLATES_PATH', GALETTE_ROOT . 'webroot/themes/');
 }
-if ( !defined('GALETTE_LOGS_PATH') ) {
+if (!defined('GALETTE_LOGS_PATH')) {
     define('GALETTE_LOGS_PATH', GALETTE_DATA_PATH . 'logs/');
 }
-if ( !defined('GALETTE_COMPILE_DIR') ) {
+if (!defined('GALETTE_COMPILE_DIR')) {
     define('GALETTE_COMPILE_DIR', GALETTE_DATA_PATH . 'templates_c/');
 }
-if ( !defined('GALETTE_CACHE_DIR') ) {
+if (!defined('GALETTE_CACHE_DIR')) {
     define('GALETTE_CACHE_DIR', GALETTE_DATA_PATH . 'cache/');
 }
-if ( !defined('GALETTE_EXPORTS_PATH') ) {
+if (!defined('GALETTE_EXPORTS_PATH')) {
     define('GALETTE_EXPORTS_PATH', GALETTE_DATA_PATH . 'exports/');
 }
-if ( !defined('GALETTE_IMPORTS_PATH') ) {
+if (!defined('GALETTE_IMPORTS_PATH')) {
     define('GALETTE_IMPORTS_PATH', GALETTE_DATA_PATH . 'imports/');
 }
-if ( !defined('GALETTE_PHOTOS_PATH') ) {
+if (!defined('GALETTE_PHOTOS_PATH')) {
     define('GALETTE_PHOTOS_PATH', GALETTE_DATA_PATH . 'photos/');
 }
-if ( !defined('GALETTE_ATTACHMENTS_PATH') ) {
+if (!defined('GALETTE_ATTACHMENTS_PATH')) {
     define('GALETTE_ATTACHMENTS_PATH', GALETTE_DATA_PATH . 'attachments/');
 }
-if ( !defined('GALETTE_FILES_PATH') ) {
+if (!defined('GALETTE_FILES_PATH')) {
     define('GALETTE_FILES_PATH', GALETTE_DATA_PATH . 'files/');
 }
-if ( !defined('GALETTE_TEMPIMAGES_PATH') ) {
+if (!defined('GALETTE_TEMPIMAGES_PATH')) {
     define('GALETTE_TEMPIMAGES_PATH', GALETTE_DATA_PATH . 'tempimages/');
 }