Skip to content

Commit

Permalink
TurboSite 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo-CMS committed Feb 18, 2023
1 parent 884808c commit 5e27622
Show file tree
Hide file tree
Showing 359 changed files with 17,238 additions and 39,220 deletions.
62 changes: 33 additions & 29 deletions turbo.sql → DB/turbo.sql

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
2. Run the installation script. To do this, open the address `http://your_site/install.php` in your browser.
3. Follow the instructions in the installer.

## Website
- [Turbo CMS](https://turbo-cms.com/)
8 changes: 0 additions & 8 deletions api/Articles.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Articles extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/ArticlesCategories.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class ArticlesCategories extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/BackendTranslations.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class BackendTranslations
Expand Down
8 changes: 0 additions & 8 deletions api/Banners.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Banners extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Blog.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Blog extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Cache.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Cache extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Callbacks.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Callbacks extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Comments.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Comments extends Turbo
Expand Down
12 changes: 1 addition & 11 deletions api/Config.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
<?php

/**
* Wrapper class for a configuration file with store settings
* Unlike the Settings class, Config operates on low-level settings, such as database settings.
*
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Config
{
public $version = '3.7.7';
public $version = '4.0.0';

// File for storing settings
public $config_file = 'config/config.php';
Expand Down
8 changes: 0 additions & 8 deletions api/Database.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Database extends Turbo
Expand Down
10 changes: 1 addition & 9 deletions api/Design.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once(dirname(__FILE__) . '/' . 'Turbo.php');
require_once(dirname(dirname(__FILE__)) . '/smarty/libs/Smarty.class.php');
require_once 'MobileDetect.php';
Expand All @@ -26,7 +18,7 @@ public function __construct()
$this->smarty->caching = $this->config->smarty_caching;
$this->smarty->cache_lifetime = $this->config->smarty_cache_lifetime;
$this->smarty->debugging = $this->config->smarty_debugging;
$this->smarty->error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE;
$this->smarty->error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_USER_DEPRECATED;

// We take the theme from the settings
$theme = $this->settings->theme;
Expand Down
8 changes: 0 additions & 8 deletions api/FAQ.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class FAQ extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Feedbacks.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Feedbacks extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Files.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Files extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Image.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Image extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Javascript.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

class Javascript extends Turbo
{
protected $events = array();
Expand Down
8 changes: 0 additions & 8 deletions api/Languages.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Languages extends Turbo
Expand Down
10 changes: 1 addition & 9 deletions api/Managers.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Managers extends Turbo
{
public $permissions_list = array(
'callbacks', 'users', 'pages', 'menus', 'blog', 'comments', 'feedbacks', 'clear', 'articles', 'projects',
'backup', 'subscribes', 'faq', 'design', 'banners', 'settings', 'seo', 'managers', 'languages'
'backup', 'subscribes', 'faq', 'design', 'banners', 'settings', 'seo', 'scripts', 'managers', 'languages'
);

public $passwd_file = "turbo/.passwd";
Expand Down
8 changes: 0 additions & 8 deletions api/Notify.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

class Notify extends Turbo
{
function email($to, $subject, $message, $from = '', $reply_to = '')
Expand Down
8 changes: 0 additions & 8 deletions api/Pages.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Pages extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Projects.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Projects extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/ProjectsCategories.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class ProjectsCategories extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Request.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Wrapper class for accessing _GET, _POST, _FILES variables
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Request extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Seo.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class seo extends Turbo
Expand Down
10 changes: 0 additions & 10 deletions api/Settings.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
<?php

/**
* Manage store settings stored in the database
* Unlike the Config class, it operates with settings available to the admin and stored in the database
*
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

require_once('Turbo.php');

class Settings extends Turbo
Expand Down
8 changes: 0 additions & 8 deletions api/Stylesheet.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/**
* Turbo CMS
*
* @author Turbo CMS
* @link https://turbo-cms.com
*
*/

class Stylesheet extends Turbo
{
protected $events = array();
Expand Down
Loading

0 comments on commit 5e27622

Please sign in to comment.