Skip to content
Snippets Groups Projects
Commit db9e6d83 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

remove define_custom.php + add file_exists in define.php

parent 2dfed186
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,9 @@
/**
* Ce fichier a mettre en paralléle dans le custom, permet de mettre des definitions spécifique au custom (exemple langue ou remplacement de define de ce fichier de base)
**/
require_once 'apps/maarch_entreprise/define_custom.php';
if(file_exists('apps/maarch_entreprise/define_custom.php')) {
require_once 'apps/maarch_entreprise/define_custom.php';
}
// Variable pour activer les vues V2
if (!defined('V2_ENABLED')) {
......
<?php
/*
* Copyright 2008-2016 Maarch
*
* This file is part of Maarch Framework.
*
* Maarch Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Maarch Framework is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>.
*/
// Write your custom define
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment